summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_icmp.c
diff options
context:
space:
mode:
authorMike Manning <mmanning@brocade.com>2016-07-22 18:32:11 +0100
committerDavid S. Miller <davem@davemloft.net>2016-07-25 11:15:58 -0700
commitea06f7176413e2538d13bb85b65387d0917943d9 (patch)
treef79c0cbc54e72a0e2a4b16211a6b53959b9c7fbf /net/ipv6/ip6_icmp.c
parentd5b160d3422f668c0c46092889f9cd935be531e9 (diff)
downloadlinux-ea06f7176413e2538d13bb85b65387d0917943d9.tar.bz2
net: ipv6: Always leave anycast and multicast groups on link down
Default kernel behavior is to delete IPv6 addresses on link down, which entails deletion of the multicast and the subnet-router anycast addresses. These deletions do not happen with sysctl setting to keep global IPv6 addresses on link down, so every link down/up causes an increment of the anycast and multicast refcounts. These bogus refcounts may stop these addrs from being removed on subsequent calls to delete them. The solution is to leave the groups for the multicast and subnet anycast on link down for the callflow when global IPv6 addresses are kept. Fixes: f1705ec197e7 ("net: ipv6: Make address flushing on ifdown optional") Signed-off-by: Mike Manning <mmanning@brocade.com> Acked-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_icmp.c')
0 files changed, 0 insertions, 0 deletions