]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SDP - Fix reference count locking bug
authorJim Mott <jim@mellanox.com>
Tue, 6 Nov 2007 22:28:05 +0000 (14:28 -0800)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:11 +0000 (05:04 -0700)
commit6c52b57f5ec1d510b89231ebc55acbe010957967
tree15e6a9f740cd717059898c287e1a31775fa3467f
parent4dbee2abb832006825f8bc55bca9ff30a98e9383
SDP - Fix reference count locking bug

Add code to fix a problem found by the Mellanox regression group.  When
mlx4_ib driver is unloaded while SDP connections are active, the system
would hang.

The original fix for this problem called an rdma_cm service that can block
with 2 spin locks held.

Signed-off-by: Jim Mott <jim@mellanox.com>
drivers/infiniband/ulp/sdp/sdp_main.c