Re: [PATCH net] ipv6: flush nd cache on IFF_NOARP change

2015-07-29 Thread David Miller
From: Eric Dumazet Date: Wed, 29 Jul 2015 12:01:41 +0200 > From: Eric Dumazet > > 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

[PATCH net] ipv6: flush nd cache on IFF_NOARP change

2015-07-29 Thread Eric Dumazet
From: Eric Dumazet 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