Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by Ralf Lici
Wed, 25 Nov 2026 08:03
Re: [PATCH net-next 00/11] ipv6: validate cached dsts against the netns route generation
Author: Ralf Lici
Date: Wed, 25 Nov 2026 08:03
Date: Wed, 25 Nov 2026 08:03
43 lines
11009 bytes
11009 bytes
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
Re: [PATCH net-next 00/11] ipv6: validate cached dsts against the netns route generation
Author: David Ahern
Date: Wed, 25 Nov 2026 19:22
Date: Wed, 25 Nov 2026 19:22
51 lines
10234 bytes
10234 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads