We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e773603 commit 9e95518Copy full SHA for 9e95518
drivers/infiniband/sw/rxe/rxe_req.c
@@ -643,13 +643,15 @@ int rxe_requester(void *arg)
643
644
if (unlikely(qp->req.state == QP_STATE_ERROR)) {
645
wqe = req_next_wqe(qp);
646
- if (wqe)
+ if (wqe) {
647
/*
648
* Generate an error completion for error qp state
649
*/
650
+ wqe->status = IB_WC_WR_FLUSH_ERR;
651
goto err;
- else
652
+ } else {
653
goto exit;
654
+ }
655
}
656
657
if (unlikely(qp->req.state == QP_STATE_RESET)) {
0 commit comments