From: Eric Dumazet Date: Wed, 29 Jul 2015 10:01:41 +0000 (+0200) Subject: ipv6: flush nd cache on IFF_NOARP change X-Git-Tag: omap-for-v4.3/fixes-merge-window~158^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8507fb235bea3314a02a67ddda0d4e6cf01fa78;p=pandora-kernel.git 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 Reported-by: Mario Fanelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed