projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04524a4
)
RDMA/cxgb4: Add missing neigh_release in find_route
author
Hariprasad S
<hariprasad@chelsio.com>
Tue, 23 Sep 2014 22:23:42 +0000
(
03:53
+0530)
committer
Roland Dreier
<roland@purestorage.com>
Tue, 14 Oct 2014 07:34:08 +0000
(
00:34
-0700)
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/cm.c
b/drivers/infiniband/hw/cxgb4/cm.c
index 2ca9ec8d6474e66bad918cd5b30d37e1f9fdd397..2ee9892850baf51904db6afca61914c9fed7bd5e 100644
(file)
--- 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;
}