projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b9ea16
)
IB/rxe: Fix ref leak in duplicate_request()
author
Andrew Boyer
<andrew.boyer@dell.com>
Wed, 23 Nov 2016 17:39:24 +0000
(12:39 -0500)
committer
Doug Ledford
<dledford@redhat.com>
Mon, 12 Dec 2016 21:31:45 +0000
(16:31 -0500)
A ref was added after the call to skb_clone().
Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_resp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/sw/rxe/rxe_resp.c
b/drivers/infiniband/sw/rxe/rxe_resp.c
index
a5e9ce3
..
8643797
100644
(file)
--- a/
drivers/infiniband/sw/rxe/rxe_resp.c
+++ b/
drivers/infiniband/sw/rxe/rxe_resp.c
@@
-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;