]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: Reenable device removal on passive side
authorVladimir Sokolovsky <vlad@mellanox.co.il>
Sat, 8 Dec 2007 04:32:03 +0000 (20:32 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:31 +0000 (14:15 -0800)
commit9a3809ecfb17c4058b264211e440479b6c28300e
tree72cb4a06f5c5db9a74de080cf9bd688a36f3848b
parent0036978949fdc217c2c620b893c97599b1569efa
RDMA/cma: Reenable device removal on passive side

Enable conn_id remove on the passive side after connection
establishment.  This corrects an issue where the IB driver can't be
unloaded after running applications over RDS.  The 'dev_remove' counter
does not reach 0 for established connections on the passive side.

This problem is limited to device removal, and only occurs on the
passive side if there are established connections.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cma.c