IPoIB: Take dev->xmit_lock around mc_list accesses
authorMichael S. Tsirkin <mst@mellanox.co.il>
Wed, 11 Jan 2006 19:47:34 +0000 (11:47 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 11 Jan 2006 19:47:34 +0000 (11:47 -0800)
commit78bfe0b5b67fe126ed98608e42e42fb6ed9aabd4
treeec595bf181906edbff10b93170b4b814fab60ad7
parent97460df37ea3335ca11562568932c9f9facfecdb
IPoIB: Take dev->xmit_lock around mc_list accesses

dev->mc_list accesses must be protected by dev->xmit_lock.
Found by Eli Cohen <eli@mellanox.co.il>.

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