diff options
author | Hariprasad S <hariprasad@chelsio.com> | 2014-09-23 22:23:42 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-10-14 07:34:08 (GMT) |
commit | d480201b2261d26b4ca1fa4cc2bfc6cb644733a3 (patch) | |
tree | ab9f8f2d518b3ffc5b6975a194d21809ba17131e /drivers | |
parent | 04524a47c36bc7fc573a4856b4e0fd8cf66c3126 (diff) | |
download | linux-d480201b2261d26b4ca1fa4cc2bfc6cb644733a3.tar.xz |
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')
-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 2ca9ec8..2ee9892 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; } |