[openib-general] [PATCH repost] IB/ipoib: fix skb leak

Roland Dreier rdreier at cisco.com
Wed Nov 29 15:29:15 PST 2006


err...

 > +void ipoib_neigh_free(struct net_dev *dev, struct ipoib_neigh *neigh);

has this patch been tested much, given that it doesn't compile (hint:
struct net_dev doesn't exist)?

@@ -787,7 +781,7 @@ static void ipoib_neigh_destructor(struc
 		if (neigh->ah)
 			ah = neigh->ah;
 		list_del(&neigh->list);
-		ipoib_neigh_free(neigh);
+		ipoib_neigh_free(dev, neigh);

and also there is no variable dev in this scope...

Anyway I fixed this up for now and I'll merge it for 2.6.20-early,
since we should have time to fix any regressions.

 - R.




More information about the general mailing list