diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 199f56255..4222b85a7 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -1953,7 +1953,7 @@ static bool srpt_process_completion(struct ib_cq *cq, EXTRACHECKS_WARN_ON(cq != ch->cq); - keep_going = ch->state != CH_RELEASING; + keep_going = ch->state <= CH_LIVE; if (keep_going) ib_req_notify_cq(cq, IB_CQ_NEXT_COMP); while ((n = ib_poll_cq(cq, ARRAY_SIZE(ch->wc), wc)) > 0) {