]> git.baikalelectronics.ru Git - kernel.git/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)
commit4dc57dac760059a4d86b72e1208c2213ca54c1b3
tree69ccbda1932d6c95b9beb9a40f5ca3a012b023bf
parent68cda62708be3f01fca79d5431e7cffd19fc5901
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