Reverted r3521.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-06-04 12:24:41 +00:00
parent 8cfb816e16
commit 0e435ce468

View File

@@ -1716,6 +1716,9 @@ static void srpt_handle_new_iu(struct srpt_rdma_ch *ch,
goto out;
}
if (unlikely(ch_state != CH_LIVE))
goto post_recv;
if (srp_cmd->opcode == SRP_CMD || srp_cmd->opcode == SRP_TSK_MGMT) {
if (!send_ioctx)
send_ioctx = srpt_get_send_ioctx(ch);