diff options
author | Hariprasad S <hariprasad@chelsio.com> | 2014-06-23 15:42:35 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-07-09 01:56:54 +0200 |
commit | 233b43010330ed8cf39cf636880017df3e33f102 (patch) | |
tree | 802426e416870fc65823e52dec1595d0227c9d6a /drivers/infiniband/hw/cxgb4 | |
parent | Linux 3.16-rc2 (diff) | |
download | linux-233b43010330ed8cf39cf636880017df3e33f102.tar.xz linux-233b43010330ed8cf39cf636880017df3e33f102.zip |
RDMA/cxgb4: Fix skb_leak in reject_cr()
Based on origninal work by Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/cm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index 5e153f6d4b48..cc36e9bf9dea 100644 --- 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; } |