Re: [PATCH net-next 1/2] ipv6: stamp the default route node with a fresh serial on link failure

From: Ralf Lici

Date: Sun Dec 06 2026 - 05:22:34 EST


On Sat, 05 Dec 2026 11:47:22 +0000, netdev-bot+sashiko@xxxxxxxxxx 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