netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: mmanning@brocade.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] net: ipv6: Do not keep IPv6 addresses when IPv6 is disabled
Date: Sat, 13 Aug 2016 15:14:39 -0700 (PDT)	[thread overview]
Message-ID: <20160813.151439.1969888908743414343.davem@davemloft.net> (raw)
In-Reply-To: <1470999758-11535-1-git-send-email-mmanning@brocade.com>

From: Mike Manning <mmanning@brocade.com>
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 <mmanning@brocade.com>

Applied and queued up for -stable, thanks.

      parent reply	other threads:[~2016-08-14  8:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12 11:02 [PATCH] net: ipv6: Do not keep IPv6 addresses when IPv6 is disabled Mike Manning
2016-08-12 17:01 ` David Ahern
2016-08-13 22:14 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160813.151439.1969888908743414343.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=mmanning@brocade.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).