]> err.no Git - linux-2.6/commit
IPoIB: Fix skb leak when freeing neighbour
authorMichael S. Tsirkin <mst@mellanox.co.il>
Thu, 16 Nov 2006 12:16:47 +0000 (14:16 +0200)
committerRoland Dreier <rolandd@cisco.com>
Wed, 29 Nov 2006 23:33:09 +0000 (15:33 -0800)
commit2745b5b713bf3457d8977c62dc2b3aa61f4a14b0
tree69ccbda1932d6c95b9beb9a40f5ca3a012b023bf
parentd2fcea7d68473b8bb3e0addb4926c87e2217ca83
IPoIB: Fix skb leak when freeing neighbour

ipoib_neigh_free() is sometimes called while neighbour is still alive,
so it might still have queued skbs.  Fix skb leak in this case.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_main.c
drivers/infiniband/ulp/ipoib/ipoib_multicast.c