]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipoib: Fix flush/start xmit race (from code review)
authorMichael S. Tsirkin <mst@mellanox.co.il>
Thu, 3 Aug 2006 19:16:06 +0000 (22:16 +0300)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:17:18 +0000 (15:17 -0700)
commit9217b27b12eb5ab910d14b3376c2b6cd13d87711
tree49d1f60e61013b7c60e13de0f60ec9ead81309b5
parent9fd558f454b666aca218a990d44f9e1ffac6ed4d
IB/ipoib: Fix flush/start xmit race (from code review)

Prevent flush task from freeing the ipoib_neigh pointer, while
ipoib_start_xmit() is accessing the ipoib_neigh through the pointer it
has loaded from the skb's hardware address.

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