]> err.no Git - linux-2.6/commit
IPoIB: protect child list in ipoib_ib_dev_flush
authorMichael S. Tsirkin <mst@mellanox.co.il>
Tue, 29 Nov 2005 18:53:30 +0000 (10:53 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 29 Nov 2005 18:53:30 +0000 (10:53 -0800)
commit4f71055a45a503273c039d80db8ba9b13cb17549
treebb4b6f10197addff1af91368f916904eb4404edf
parent2e86541ec878de9ec5771600a77f451a80bebfc4
IPoIB: protect child list in ipoib_ib_dev_flush

race condition: ipoib_ib_dev_flush is accessing child list without locks.

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