From: Mike Manning <[email protected]>
Date: Fri, 12 Aug 2016 12:02:38 +0100
> 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 <[email protected]>
Applied and queued up for -stable, thanks.