ib_srpt: Fixed bug in IB send queue overflow handling.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2455 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-10-23 14:32:15 +00:00
parent 86814a9503
commit 172c211176
+1
View File
@@ -3071,6 +3071,7 @@ static int srpt_xmit_response(struct scst_cmd *scmnd)
&& scst_cmd_get_adjusted_resp_data_len(scmnd)) {
ret = srpt_xfer_data(ch, ioctx, scmnd);
if (ret != SCST_TGT_RES_SUCCESS) {
srpt_set_cmd_state(ioctx, state);
PRINT_ERROR("%s: tag= %llu xfer_data failed",
__func__, scst_cmd_get_tag(scmnd));
goto out;