aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMike Manning <mmanning@brocade.com>2016-08-12 12:02:38 +0100
committerDavid S. Miller <davem@davemloft.net>2016-08-13 15:14:00 -0700
commitbc561632dddd5af0c4444d919f01cbf6d553aa0a (patch)
tree21cabbcc474e473c5287a28555646fff6756482f /drivers
parentnet/sctp: always initialise sctp_ht_iter::start_fail (diff)
downloadlinux-dev-bc561632dddd5af0c4444d919f01cbf6d553aa0a.tar.xz
linux-dev-bc561632dddd5af0c4444d919f01cbf6d553aa0a.zip
net: ipv6: Do not keep IPv6 addresses when IPv6 is disabled
If IPv6 is disabled when the option is set to keep IPv6 addresses on link down, userspace is unaware of this as there is no such indication via netlink. The solution is to remove the IPv6 addresses in this case, which results in netlink messages indicating removal of addresses in the usual manner. This fix also makes the behavior consistent with the case of having IPv6 disabled first, which stops IPv6 addresses from being added. 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 'drivers')
0 files changed, 0 insertions, 0 deletions