netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hangbin Liu <liuhangbin@gmail.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
	"David Ahern" <dsahern@kernel.org>,
	"Eric Dumazet" <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Simon Horman" <horms@kernel.org>,
	"Shuah Khan" <shuah@kernel.org>,
	"Sam Edwards" <cfsworks@gmail.com>,
	"Maciej Żenczykowski" <maze@google.com>,
	"Alex Henrie" <alexhenrie24@gmail.com>,
	linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
	"Hangbin Liu" <liuhangbin@gmail.com>
Subject: [PATCHv2 net 0/2] ipv6: fix temporary address not removed correctly
Date: Wed, 20 Nov 2024 09:51:06 +0000	[thread overview]
Message-ID: <20241120095108.199779-1-liuhangbin@gmail.com> (raw)

Currently the temporary address is not removed when mngtmpaddr is deleted
or becomes unmanaged. The patch set fixed this issue and add a related
test.

v2:
1) delete the tempaddrs directly instead of remove them in  addrconf_verify_rtnl(Sam Edwards)
2) Update the test case by checking the address including, add Sam in SOB (Sam Edwards)

Hangbin Liu (2):
  net/ipv6: delete temporary address if mngtmpaddr is removed or
    unmanaged
  selftests/rtnetlink.sh: add mngtempaddr test

 net/ipv6/addrconf.c                      | 41 +++++++---
 tools/testing/selftests/net/rtnetlink.sh | 95 ++++++++++++++++++++++++
 2 files changed, 124 insertions(+), 12 deletions(-)

-- 
2.46.0


             reply	other threads:[~2024-11-20  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-20  9:51 Hangbin Liu [this message]
2024-11-20  9:51 ` [PATCHv2 net 1/2] net/ipv6: delete temporary address if mngtmpaddr is removed or unmanaged Hangbin Liu
2024-11-23 18:50   ` David Ahern
2024-11-20  9:51 ` [PATCHv2 net 2/2] selftests/rtnetlink.sh: add mngtempaddr test Hangbin Liu
2024-11-23 18:51   ` David Ahern
2024-11-26  9:40 ` [PATCHv2 net 0/2] ipv6: fix temporary address not removed correctly patchwork-bot+netdevbpf

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=20241120095108.199779-1-liuhangbin@gmail.com \
    --to=liuhangbin@gmail.com \
    --cc=alexhenrie24@gmail.com \
    --cc=cfsworks@gmail.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=maze@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=shuah@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).