mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
It is possible to get ESTABLISHED RDMACM event while the connection is already started teardown flow (i.e. addr change). At teardown the refcount is reduced to zero and we start releasing the connection. In established event We need to check conn is not in teardown flow by checking its ref count is not 0. Signed-off-by: Israel Rukshin <israelr@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6879 d57e44dd-8a1f-0410-8b47-8ef2f437770f