]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: device removal rewritten for a stability improvement.
authorEldad Zinger <eldadz@mellanox.co.il>
Sun, 30 May 2010 11:03:43 +0000 (14:03 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:58 +0000 (05:04 -0700)
commit956cf4f30b1df5a2ac2f776aa89ad6aac9f64092
tree97ef61769338a66d88c19010a0354a7d0fe2bc5d
parent9ed31e6e71273766aa9e2cc8001a32e28204af41
sdp: device removal rewritten for a stability improvement.

main changes:
1. device_removal_lock is better used.
2. sdp_dev is marked NULL in order to prevent new sockets born to the removed
   device.
3. new timeout functionality used when a reference count was taken for the CMA
   to return, but the CMA won't be invoked because rdma_id was destroyed.

Signed-off-by: Eldad Zinger <eldadz@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp.h
drivers/infiniband/ulp/sdp/sdp_cma.c
drivers/infiniband/ulp/sdp/sdp_main.c