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)
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>

No differences found