mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-29 18:00:18 +00:00
ib_srpt: Avoid that relogin triggers a large number of FLUSH ERR messages
Reported-by: Grant Albitz <Grant@schultztechnology.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6498 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1937,7 +1937,7 @@ static void srpt_process_rcv_completion(struct ib_cq *cq,
|
||||
ioctx = ch->ioctx_recv_ring[index];
|
||||
ioctx->byte_len = wc->byte_len;
|
||||
srpt_handle_new_iu(ch, ioctx, srpt_new_iu_context);
|
||||
} else {
|
||||
} else if (ch->state <= CH_LIVE) {
|
||||
pr_info("receiving failed for idx %u with status %d\n", index,
|
||||
wc->status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user