mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
ib_srpt: Fixed a bug in the RDMA channel disconnection processing code.
(Merged r3143 from the trunk.) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@3144 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3038,6 +3038,7 @@ static int srpt_rdy_to_xfer(struct scst_cmd *scmnd)
|
||||
if (ch_state == RDMA_CHANNEL_DISCONNECTING) {
|
||||
TRACE_DBG("cmd with tag %lld: channel disconnecting",
|
||||
scst_cmd_get_tag(scmnd));
|
||||
srpt_set_cmd_state(ioctx, SRPT_STATE_DATA_IN);
|
||||
ret = SCST_TGT_RES_FATAL_ERROR;
|
||||
goto out;
|
||||
} else if (ch_state == RDMA_CHANNEL_CONNECTING) {
|
||||
|
||||
Reference in New Issue
Block a user