From: Ido Schimmel <idosch@nvidia.com>
To: Lawrence Lee <lfqlee314@gmail.com>
Cc: David Ahern <dsahern@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Randy Dunlap <rdunlap@infradead.org>,
netdev@vger.kernel.org, Arun Ajith S <aajith@arista.com>,
Roopa Prabhu <roopa@nvidia.com>,
Jaehee Park <jhpark1013@gmail.com>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Shuah Khan <shuah@kernel.org>,
linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org,
Alexander Aring <alex.aring@gmail.com>,
linux-wpan@vger.kernel.org, linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH net-next v2 1/2] ipv6: update NUD_FAILED neighbors from NA messages
Date: Thu, 17 Sep 2026 17:37:50 +0300 [thread overview]
Message-ID: <20260917143750.GA1332286@shredder> (raw)
In-Reply-To: <DLGXDIB879EO.IDZNAIRY0VFJ@gmail.com>
On Wed, Sep 16, 2026 at 05:43:11PM +0000, Lawrence Lee wrote:
> On Wed Sep 16, 2026 at 12:02 PM UTC, Ido Schimmel wrote:
> > I'm not sure why you added these lowpan changes to the patch. They are
> > not described in the commit message. Given that lowpan_ndisc_update()
> > already has a TODO comment about only handling overrides, I suggest to
> > ignore it. If needed, it can be modified in the future by someone who
> > can explain the use case and test the change.
> >
>
> I added the lowpan changes after my local Sashiko review run identified
> an issue where a FAILED neighbor can retain an outdated private short
> address if it's moved to STALE by a non-override NA. Happy to drop all
> lowpan-related changes or update comments/commit message to reflect the
> changes, please let me know your preference.
And if the entry is INCOMPLETE and we get a non-override NA?
lowpan_ndisc_update() will ignore it. It's a pre-existing issue and
there is a TODO comment about this:
"/* react on overrides only. TODO check if this is really right. */"
You can mention that it's a pre-existing issue under the '---'. That
way, hopefully, Sashiko will not flag it and it won't clutter the git
log.
[...]
> Was originally unsure if I should modify the existing logical structure.
> Thanks for the suggestion, will implement this. Is it appropriate to
> credit you with a commit tag?
No. I will add my R-b tag when appropriate.
[...]
> > What is the reason for this change? It's also not explained in the
> > commit message and I suspect it's not needed.
>
> This was added in response to another Sashiko local review finding.
> Let's say we have some FAILED neighbor T with NTF_ROUTER set. If we get
> an NA from source address S with target address T and with the Router
> bit clear, existing kernel code will cleanup routes with gateway S, but
> IMO we should clean routes with gateway T instead since that is the
> neighbor which was updated by the NA. I can either update
> comments/commit message to reflect this or remove the change entirely,
> please let me know your preference.
And if the neighbour was in a different state than FAILED? It seems like
another pre-existing issue. I guess that in practice, most of the time,
the source address of the NA is also the target address in the payload.
You can mention this under the '---'.
next prev parent reply other threads:[~2026-09-17 14:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 5:01 [PATCH net-next v2 0/2] ipv6: update NUD_FAILED neighbors from NA messages Lawrence Lee
2026-09-15 5:01 ` [PATCH net-next v2 1/2] " Lawrence Lee
2026-09-15 6:58 ` bluez.test.bot
2026-09-16 12:02 ` [PATCH net-next v2 1/2] " Ido Schimmel
2026-09-16 17:43 ` Lawrence Lee
2026-09-17 14:37 ` Ido Schimmel [this message]
2026-09-17 20:11 ` Lawrence Lee
2026-09-17 17:02 ` netdev-bot+sashiko
2026-09-17 20:26 ` Lawrence Lee
2026-09-15 5:01 ` [PATCH net-next v2 2/2] selftests: net: test untracked NA recovery of FAILED neighbors Lawrence Lee
2026-09-17 17:02 ` netdev-bot+sashiko
2026-09-18 5:52 ` Lawrence Lee
2026-09-15 5:26 ` [PATCH net-next v2 0/2] ipv6: update NUD_FAILED neighbors from NA messages Randy Dunlap
2026-09-15 15:54 ` Lawrence Lee
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=20260917143750.GA1332286@shredder \
--to=idosch@nvidia.com \
--cc=aajith@arista.com \
--cc=alex.aring@gmail.com \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jhpark1013@gmail.com \
--cc=kuba@kernel.org \
--cc=lfqlee314@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-wpan@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rdunlap@infradead.org \
--cc=roopa@nvidia.com \
--cc=shuah@kernel.org \
--cc=skhan@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.