* Re: [PATCH net-next 00/11] ipv6: validate cached dsts against the netns route generation [not found] <20261125003554.54371-1-dahern@nvidia.com> @ 2026-11-25 8:03 ` Ralf Lici 2026-11-25 19:22 ` David Ahern 0 siblings, 1 reply; 2+ messages in thread From: Ralf Lici @ 2026-11-25 8:03 UTC (permalink / raw) To: David Ahern Cc: netdev, David Ahern, Ido Schimmel, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman, Shuah Khan, linux-kselftest 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. 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. [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. -- Ralf Lici Mandelbit Srl ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net-next 00/11] ipv6: validate cached dsts against the netns route generation 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 0 siblings, 0 replies; 2+ messages in thread From: David Ahern @ 2026-11-25 19:22 UTC (permalink / raw) To: Ralf Lici, David Ahern Cc: netdev, Ido Schimmel, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman, Shuah Khan, linux-kselftest 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. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-25 19:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox