summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorKumar Sanghvi <kumaras@chelsio.com>2014-02-06 11:30:16 +0100
committerRoland Dreier <roland@purestorage.com>2014-02-13 23:46:40 +0100
commit0f0132001fd239bb67c1f68436b95cc79de89736 (patch)
tree7b5fdd0efbd7758e8edd83cf60b5355e44fa6ed9 /drivers/infiniband
parentLinus 3.14-rc1 (diff)
downloadlinux-0f0132001fd239bb67c1f68436b95cc79de89736.tar.xz
linux-0f0132001fd239bb67c1f68436b95cc79de89736.zip
RDMA/cxgb4: Add missing neigh_release in LE-Workaround path
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 45126879ad28..d286bdebe2ab 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -3352,6 +3352,7 @@ static int rx_pkt(struct c4iw_dev *dev, struct sk_buff *skb)
goto free_dst;
}
+ neigh_release(neigh);
step = dev->rdev.lldi.nrxq / dev->rdev.lldi.nchan;
rss_qid = dev->rdev.lldi.rxq_ids[pi->port_id * step];
window = (__force u16) htons((__force u16)tcph->window);