Merge branch 'ip-roce' into for-next
authorRoland Dreier <roland@purestorage.com>
Thu, 23 Jan 2014 07:24:21 +0000 (23:24 -0800)
committerRoland Dreier <roland@purestorage.com>
Thu, 23 Jan 2014 07:24:21 +0000 (23:24 -0800)
Conflicts:
drivers/infiniband/hw/mlx4/main.c

1  2 
drivers/infiniband/Kconfig
drivers/infiniband/core/cma.c
drivers/infiniband/core/verbs.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/qp.c
drivers/infiniband/hw/mlx5/qp.c
drivers/infiniband/hw/ocrdma/ocrdma_ah.c
include/linux/mlx4/device.h
include/rdma/ib_verbs.h

Simple merge
Simple merge
Simple merge
index ea5844e89b2abe434803b31fb89728099b82be06,bf218d9ec08908dc313ff2549f46c12c88baff00..c2702f549f10aae4f7ef115fc25a238fb65c25bd
@@@ -2032,13 -1971,18 +2208,26 @@@ static void mlx4_ib_remove(struct mlx4_
                        pr_warn("failure unregistering notifier\n");
                ibdev->iboe.nb.notifier_call = NULL;
        }
 +
 +      if (ibdev->steering_support == MLX4_STEERING_MODE_DEVICE_MANAGED) {
 +              mlx4_qp_release_range(dev, ibdev->steer_qpn_base,
 +                                    ibdev->steer_qpn_count);
 +              kfree(ibdev->ib_uc_qpns_bitmap);
 +      }
 +
+       if (ibdev->iboe.nb_inet.notifier_call) {
+               if (unregister_inetaddr_notifier(&ibdev->iboe.nb_inet))
+                       pr_warn("failure unregistering notifier\n");
+               ibdev->iboe.nb_inet.notifier_call = NULL;
+       }
+ #if IS_ENABLED(CONFIG_IPV6)
+       if (ibdev->iboe.nb_inet6.notifier_call) {
+               if (unregister_inet6addr_notifier(&ibdev->iboe.nb_inet6))
+                       pr_warn("failure unregistering notifier\n");
+               ibdev->iboe.nb_inet6.notifier_call = NULL;
+       }
+ #endif
++
        iounmap(ibdev->uar_map);
        for (p = 0; p < ibdev->num_ports; ++p)
                if (ibdev->counters[p] != -1)
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge