linux_dsm_epyc7002/drivers/infiniband/ulp
Shlomo Pongratz fa16ebed31 IB/ipoib: Add missing locking when CM object is deleted
Commit b63b70d877 ("IPoIB: Use a private hash table for path lookup
in xmit path") introduced a bug where in ipoib_cm_destroy_tx() a CM
object is moved between lists without any supported locking.  Under a
stress test, this eventually leads to list corruption and a crash.

Previously when this routine was called, callers were taking the
device priv lock.  Currently this function is called from the RCU
callback associated with neighbour deletion.  Fix the race by taking
the same lock we used to before.

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-08-14 15:21:44 -07:00
..
ipoib IB/ipoib: Add missing locking when CM object is deleted 2012-08-14 15:21:44 -07:00
iser IB/iser: Fix error flow in iser ep connection establishment 2012-05-18 17:05:31 -07:00
srp IB/srp: Consolidate repetitive sysfs code 2012-02-27 09:27:57 -08:00
srpt srpt: use target_execute_cmd for WRITEs in srpt_handle_rdma_comp 2012-07-16 17:35:18 -07:00