diff options
author | Hariprasad S <hariprasad@chelsio.com> | 2014-09-24 03:53:42 +0530 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-10-14 00:34:08 -0700 |
commit | d480201b2261d26b4ca1fa4cc2bfc6cb644733a3 (patch) | |
tree | ab9f8f2d518b3ffc5b6975a194d21809ba17131e /drivers/infiniband/hw | |
parent | 04524a47c36bc7fc573a4856b4e0fd8cf66c3126 (diff) | |
download | linux-stable-d480201b2261d26b4ca1fa4cc2bfc6cb644733a3.tar.gz linux-stable-d480201b2261d26b4ca1fa4cc2bfc6cb644733a3.tar.bz2 linux-stable-d480201b2261d26b4ca1fa4cc2bfc6cb644733a3.zip |
RDMA/cxgb4: Add missing neigh_release in find_route
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/cm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index 2ca9ec8d6474..2ee9892850ba 100644 --- a/drivers/infiniband/hw/cxgb4/cm.c +++ b/drivers/infiniband/hw/cxgb4/cm.c @@ -417,6 +417,7 @@ static struct dst_entry *find_route(struct c4iw_dev *dev, __be32 local_ip, return NULL; if (!our_interface(dev, n->dev) && !(n->dev->flags & IFF_LOOPBACK)) { + neigh_release(n); dst_release(&rt->dst); return NULL; } |