From: David Ahern <dsahern@kernel.org>
To: Ralf Lici <ralf@mandelbit.com>, David Ahern <dahern@nvidia.com>
Cc: netdev@vger.kernel.org, Ido Schimmel <idosch@nvidia.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>, Shuah Khan <shuah@kernel.org>,
linux-kselftest@vger.kernel.org
Subject: Re: [PATCH net-next 00/11] ipv6: validate cached dsts against the netns route generation
Date: Wed, 25 Nov 2026 12:22:10 -0700 [thread overview]
Message-ID: <d370321b-adbf-4d03-8dec-6644f191fe52@kernel.org> (raw)
In-Reply-To: <20261125080341.57521-1-ralf@mandelbit.com>
On 11/25/26 1:03 AM, Ralf Lici wrote:
> I'm not sure what happened here but it seems like you've sent this
> series with envelope sender dahern@KCJPDQ2QL4.localdomain. My server
> took it with a spam score of 12.9; lore says the message-ids are
> unknown, and patchwork doesn't have it (vger very likely rejected it).
> So, only the people on Cc have it, and patch 02/11 never reached even my
> mailbox.
sigh. botched attempt from the corporate laptop. will send the next
version from personal laptop. thanks for the heads up.
>
> On Tue, 24 Nov 2026 17:35:39 -0700, David Ahern <dahern@nvidia.com> wrote:
>> rebound under the global fnhe_lock (rt_bind_exception()). Narrowing
>> the invalidation back to subtrees would bring back the cookie race
>> the series removes. If the exception refresh shows up under churn, a
>
> That's not the case: my v5 [1] keeps the per-node scope and closes the
> race by sampling the node's serial during the lookup. Invalidating the
> whole netns is a matter of preference, not a requirement.
That comment describes how IPv4 works. Your series is for IPv6; not sure
what you mean with your comment.
>
> [1] https://lore.kernel.org/netdev/cover.1795537128.git.ralf@mandelbit.com/
>
>> David Ahern (11):
>> ipv6: allocate the exception entry before removing the one it replaces
>> ipv6: keep a superseded pcpu dst working until its holders notice
>> ipv6: don't insert a PMTU exception whose MTU could not be stored
>> ipv6: invalidate the failing dst in ip6_link_failure()
>> ipv6: tell route dumps about exception inserts with a table sequence
>> ipv6: validate dsts against the netns route generation
>> ipv6: make rt_genid_bump_ipv6() a plain counter increment
>> nexthop: factor out nh_has_f6i()
>> nexthop: bump the IPv6 route generation on group changes
>> ipv6: stamp dsts with the generation sampled before the FIB lookup
>> selftests: net: pmtu: check that a deleted cached exception stays
>> deleted
>>
>
> When you resend, please add Reported-by tags where the series fixes
> issues I reported in this thread: the reuse of a rebuilt pcpu dst
> (10/11), stale exceptions treated as misses (6/11), superseded pcpu dsts
> released with dst_dev_put (2/11) and, if the series addresses it, the
> bundle-child release.
>
Done.
prev parent reply other threads:[~2026-11-25 19:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261125003554.54371-1-dahern@nvidia.com>
2026-11-25 8:03 ` [PATCH net-next 00/11] ipv6: validate cached dsts against the netns route generation Ralf Lici
2026-11-25 19:22 ` David Ahern [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=d370321b-adbf-4d03-8dec-6644f191fe52@kernel.org \
--to=dsahern@kernel.org \
--cc=dahern@nvidia.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=kuba@kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=ralf@mandelbit.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 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.