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:
Bart Van Assche
2010-12-19 13:33:46 +00:00
parent 3a01db3279
commit 8e32148fc1

View File

@@ -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) {