From: Ralf Lici <ralf@mandelbit.com>
To: netdev-bot+sashiko@kernel.org
Cc: netdev@vger.kernel.org, dsahern@kernel.org, idosch@nvidia.com,
davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, willemb@google.com, horms@kernel.org,
linux-kernel@vger.kernel.org, antonio@mandelbit.com
Subject: Re: [PATCH net-next 1/2] ipv6: stamp the default route node with a fresh serial on link failure
Date: Sun, 6 Dec 2026 11:22:03 +0100 [thread overview]
Message-ID: <20261206102204.190695-1-ralf@mandelbit.com> (raw)
In-Reply-To: <179647124270.3146.16244935232186723099@kernel.org>
On Sat, 05 Dec 2026 11:47:22 +0000, netdev-bot+sashiko@kernel.org wrote:
> Should this carry a Fixes: tag? If not, should the message say that no
> stable backport is intended, given the new netns-wide invalidation cost?
>
As Ido suggested, I'm not adding Fixes: tags to these day-1 bugs.
> [Severity: Medium]
> Can a remote host drive this path at packet rate?
>
Each call takes tb6_lock for a single node update, not a walk, and
advances the generation once. Remote traffic can already advance
serials, through PMTU exceptions for example. Additionally, once dsts
carry the serial their lookup sampled, ip6_link_failure can skip the
update when the failing dst is already older than its node's serial,
which bounds it to once per cached dst. I'll do that in the series that
introduces those serials.
> Suppose a sustained run of link failures hits a default route, for
> example through the tunnel error path above. Could each dump batch or
> proc read then rewind, so that dumping a large table costs roughly
> O(n^2/batch)? The output itself stays correct.
>
Same trigger as above, so the same bound will apply.
As these only concern the commit message, I'd avoid a respin for them,
but I'm happy to send a v2 if the maintainers prefer.
--
Ralf Lici
Mandelbit Srl
next prev parent reply other threads:[~2026-12-06 10:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 11:28 [PATCH net-next 0/2] ipv6: keep fib6 node serials from going backwards Ralf Lici
2026-12-04 11:28 ` [PATCH net-next 1/2] ipv6: stamp the default route node with a fresh serial on link failure Ralf Lici
2026-12-05 11:47 ` netdev-bot+sashiko
2026-12-06 10:22 ` Ralf Lici [this message]
2026-12-04 11:28 ` [PATCH net-next 2/2] ipv6: allocate the flush serial under each table's lock Ralf Lici
2026-12-05 11:47 ` netdev-bot+sashiko
2026-12-06 10:25 ` Ralf Lici
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=20261206102204.190695-1-ralf@mandelbit.com \
--to=ralf@mandelbit.com \
--cc=antonio@mandelbit.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=willemb@google.com \
/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
all inboxes | Powered by JetHome®