OSDN Git Service
(root)
/
android-x86
/
kernel.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
2ca9ec8
..
2ee9892
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;
}