Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1223a1af authored by Andrew Boyer's avatar Andrew Boyer Committed by Doug Ledford
Browse files

IB/rxe: Another fix for broken receive queue draining



This fixes another path in rxe_requester() that might overlook stale SKBs,
preventing cleanup.

Fixes: 12171971 ("rxe: fix broken receive queue draining")
Signed-off-by: default avatarAndrew Boyer <andrew.boyer@dell.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 2418adae
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -594,8 +594,10 @@ int rxe_requester(void *arg)
	rxe_add_ref(qp);

next_wqe:
	if (unlikely(!qp->valid))
	if (unlikely(!qp->valid)) {
		rxe_drain_req_pkts(qp, true);
		goto exit;
	}

	if (unlikely(qp->req.state == QP_STATE_ERROR)) {
		rxe_drain_req_pkts(qp, true);