projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1f40e
)
neigh: directly goto out after setting nud_state to NUD_FAILED
author
Duan Jiong
<duanj.fnst@cn.fujitsu.com>
Thu, 27 Feb 2014 09:03:03 +0000
(17:03 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 27 Feb 2014 21:40:38 +0000
(16:40 -0500)
Because those following if conditions will not be matched.
Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c
patch
|
blob
|
history
diff --git
a/net/core/neighbour.c
b/net/core/neighbour.c
index 36d3f8c1a2dd85f49aad107cf6ea8aec97ee3c0c..fbde4e3ce802a0f2e52f237acae865fc6ff5774a 100644
(file)
--- a/
net/core/neighbour.c
+++ b/
net/core/neighbour.c
@@
-945,6
+945,7
@@
static void neigh_timer_handler(unsigned long arg)
neigh->nud_state = NUD_FAILED;
notify = 1;
neigh_invalidate(neigh);
+ goto out;
}
if (neigh->nud_state & NUD_IN_TIMER) {