Eric Dumazet c8507fb235 ipv6: flush nd cache on IFF_NOARP change
This patch is the IPv6 equivalent of commit
6c8b4e3ff81b ("arp: flush arp cache on IFF_NOARP change")

Without it, we keep buggy neighbours in the cache, with destination
MAC address equal to our own MAC address.

Tested:
 tcpdump -i eth0 -s 0 ip6 -n -e &
 ip link set dev eth0 arp off
 ping6 remote   // sends buggy frames
 ip link set dev eth0 arp on
 ping6 remote   // should work once kernel is patched

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Mario Fanelli <mariofanelli@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-29 23:01:39 -07:00
..
2015-05-28 11:23:20 +08:00
2015-05-25 13:25:35 -04:00
2015-05-03 21:58:01 -04:00
2015-05-30 23:48:36 -07:00
2015-06-12 21:59:25 -07:00
2015-02-28 16:56:51 -05:00
2015-05-31 21:42:18 -07:00
2014-05-23 16:28:53 -04:00