projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RDMA/cxgb4: Fix skb_leak in reject_cr()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
infiniband
/
hw
/
cxgb4
/
cm.c
diff --git
a/drivers/infiniband/hw/cxgb4/cm.c
b/drivers/infiniband/hw/cxgb4/cm.c
index 5e153f6d4b48f2d36abcceec8dcee0996e5bf6d1..cc36e9bf9dea301341a9e49f4623ef44200555e8 100644
(file)
--- a/
drivers/infiniband/hw/cxgb4/cm.c
+++ b/
drivers/infiniband/hw/cxgb4/cm.c
@@
-2180,7
+2180,6
@@
static void reject_cr(struct c4iw_dev *dev, u32 hwtid, struct sk_buff *skb)
PDBG("%s c4iw_dev %p tid %u\n", __func__, dev, hwtid);
BUG_ON(skb_cloned(skb));
skb_trim(skb, sizeof(struct cpl_tid_release));
- skb_get(skb);
release_tid(&dev->rdev, hwtid, skb);
return;
}