Files
scst/iscsi-scst/kernel
Israel Rukshin 87902c8722 isert: fix a race between calling to rdma_disconnect and connect flow
1) The race can happen after unreachable event handler close isert connection
and calling to rdma_disconnect from another thread on illegal cm_id.
For example call rdma_disconnect from isert_portal_release function.

2) It is also possible to get ESTABLISHED RDMACM event while rdma_disconnect
is called from another thread.
In established event we need to check conn is not in
teardown flow by checking the connection state with a mutex.

Signed-off-by: Israel Rukshin <israelr@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6950 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-08-17 07:28:16 +00:00
..
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00
2016-08-03 02:32:17 +00:00
2016-01-22 04:04:43 +00:00
2015-08-25 02:56:08 +00:00
2015-06-12 16:15:45 +00:00
2016-01-22 04:04:43 +00:00
2016-03-24 04:08:12 +00:00
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00
2016-01-22 04:04:43 +00:00