[ewg] Problem with core/addr.c in 1.2

Bryan O'Sullivan bos at pathscale.com
Fri Feb 16 11:11:09 PST 2007


The backout in commit ab7bab1a10e701e4f86d40c1ce4b04e3b2e7f291 isn't 
complete.  The file still contains the following changes that break the 
build for me:

--- a/drivers/infiniband/core/addr.c    Wed Feb 14 14:01:46 2007 -0800
+++ b/drivers/infiniband/core/addr.c    Wed Feb 14 14:03:10 2007 -0800
@@ -35,7 +35,6 @@
  #include <net/arp.h>
  #include <net/neighbour.h>
  #include <net/route.h>
-#include <net/netevent.h>
  #include <rdma/ib_addr.h>

  MODULE_AUTHOR("Sean Hefty");
@@ -378,13 +377,13 @@ static int addr_init(void)
         if (!addr_wq)
                 return -ENOMEM;

-       register_netevent_notifier(&nb);
+       dev_add_pack(&addr_arp);
         return 0;
  }

  static void addr_cleanup(void)
  {
-       unregister_netevent_notifier(&nb);
+       dev_remove_pack(&addr_arp);
         destroy_workqueue(addr_wq);
  }





More information about the ewg mailing list