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

Commit 5407f530 authored by Andrew Boyer's avatar Andrew Boyer Committed by Doug Ledford
Browse files

IB/rxe: Fix ref leak in duplicate_request()



A ref was added after the call to skb_clone().

Signed-off-by: default avatarAndrew Boyer <andrew.boyer@dell.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 5b9ea16c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1145,6 +1145,7 @@ static enum resp_states duplicate_request(struct rxe_qp *qp,
					     pkt, skb_copy);
			if (rc) {
				pr_err("Failed resending result. This flow is not handled - skb ignored\n");
				rxe_drop_ref(qp);
				kfree_skb(skb_copy);
				rc = RESPST_CLEANUP;
				goto out;