Browse Source

IPoIB: Fix build now that neighbour destructor is in neigh_params

Fix the IPoIB build (which is broken in net-2.6.17 because of my
screw-up, which left out this chunk in ipoib_multicast.c). 
The neighbour destructor is now in neigh_params, so we don't
need to clear it in the ops structure.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier 19 năm trước cách đây
mục cha
commit
8b9ab02b69
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/infiniband/ulp/ipoib/ipoib_multicast.c

+ 0 - 1
drivers/infiniband/ulp/ipoib/ipoib_multicast.c

@@ -115,7 +115,6 @@ static void ipoib_mcast_free(struct ipoib_mcast *mcast)
 		if (neigh->ah)
 			ipoib_put_ah(neigh->ah);
 		*to_ipoib_neigh(neigh->neighbour) = NULL;
-		neigh->neighbour->ops->destructor = NULL;
 		kfree(neigh);
 	}