Merge r5836 from the iser branch

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6268 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-11 16:35:18 +00:00
parent 0584116980
commit 4710bfd984

View File

@@ -542,11 +542,10 @@ static void isert_handle_wc_error(struct ib_wc *wc)
switch (wr->wr_op) {
case ISER_WR_SEND:
if (unlikely(wr->send_wr.num_sge == 0)) { /* Drain WR */
if (unlikely(wr->send_wr.num_sge == 0)) /* Drain WR */
isert_sched_conn_drained(isert_conn);
} else {
else
isert_pdu_err(&isert_pdu->iscsi);
}
break;
case ISER_WR_RDMA_READ:
if (isert_buf->sg_cnt != 0) {