mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-24 22:21:27 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user