projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3ef66
)
ipv6: remove duplicate neigh_ifdown
author
stephen hemminger
<shemminger@vyatta.com>
Thu, 16 Dec 2010 17:42:54 +0000
(17:42 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 19 Dec 2010 06:01:17 +0000
(22:01 -0800)
When device is being set to down, neigh_ifdown was being called
twice. Once from addrconf notifier and once from ndisc notifier.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/addrconf.c
b/net/ipv6/addrconf.c
index 99d1888af36390a4691dd2ab258efb800ab0030e..5b189c97c2fc16d28961955673c1fa94f3df21ad 100644
(file)
--- a/
net/ipv6/addrconf.c
+++ b/
net/ipv6/addrconf.c
@@
-2672,7
+2672,6
@@
static int addrconf_ifdown(struct net_device *dev, int how)
/* Flush routes if device is being removed or it is not loopback */
if (how || !(dev->flags & IFF_LOOPBACK))
rt6_ifdown(net, dev);
- neigh_ifdown(&nd_tbl, dev);
idev = __in6_dev_get(dev);
if (idev == NULL)