mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
isert: fix isert conn cleanup when rdma_accept fails
If rdma_accept fails the state of the qp is modified to error and all posted recieve buffers will be flushed and because of the flush the isert conn teardown flow will start. Signed-off-by: Israel Rukshin <israelr@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6956 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1524,9 +1524,6 @@ out:
|
||||
return err;
|
||||
|
||||
fail_accept:
|
||||
set_bit(ISERT_CONNECTION_ABORTED, &isert_conn->flags);
|
||||
isert_conn_free(isert_conn);
|
||||
isert_conn_free(isert_conn);
|
||||
isert_sched_conn_free(isert_conn);
|
||||
err = 0;
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user