Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] ipv6: Use the FIB prefix length to suppress cached routes
@ 2026-12-02 17:30 Leonard Lausen
  2026-12-02 17:30 ` [PATCH net-next 1/2] ipv6: Use the FIB prefix length when suppressing " Leonard Lausen
  2026-12-02 17:30 ` [PATCH net-next 2/2] selftests: netfilter: cover IPv6 prefix suppression with a PMTU exception Leonard Lausen
  0 siblings, 2 replies; 6+ messages in thread
From: Leonard Lausen @ 2026-12-02 17:30 UTC (permalink / raw)
  To: netdev
  Cc: leonard, David Ahern, Ido Schimmel, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Willem de Bruijn, Simon Horman,
	Pablo Neira Ayuso, Florian Westphal, Phil Sutter, Shuah Khan,
	netfilter-devel, coreteam, linux-kselftest

This is the cached-exception follow-up requested during review of the
previous prefix-suppression series. It targets net-next now that
94df5595e31b ("ipv6: Honor suppress_prefixlength in fib6_lookup()") and
its selftests are present in that tree.

The dst-based suppression callback still compares the /128 prefix of a
PMTU or redirect exception with suppress_prefixlength. A cached exception
can therefore bypass suppression of its parent default route. Patch 1
uses the parent FIB prefix when available. Patch 2 extends nft_fib.sh's
existing fixture with one PMTU regression case. Interface-group handling
and the fib6_lookup() path are unchanged.

The issue was raised by Ido and in automated review. These changes were
removed from the earlier net series at review; the implementation is
unchanged here. Review:
https://lore.kernel.org/netdev/20261117091340.GA581197@shredder/

The new PMTU case fails on the pre-fix kernel. On the rebuilt net-next
kernel, all seven checks pass in normal and eight-second-delayed runs.
An independent ICMPv6 Packet Too Big reproducer confirms that both lookup
paths select the later table. Terminal-reject controls also pass.

The changed unit compiles with W=1 without warnings. Automated kernel-log
checks were unavailable in the test namespace; full W=1 allyesconfig and
allmodconfig builds remain unchecked.

OpenAI Codex assisted with reproduction, implementation, testing and
wording. Prompts asked it to investigate the routing mismatch, address
review feedback and prepare this separate net-next follow-up. Ido's
review identified the cached-exception problem.

Leonard Lausen (2):
  ipv6: Use the FIB prefix length when suppressing cached routes
  selftests: netfilter: cover IPv6 prefix suppression with a PMTU
    exception

 net/ipv6/fib6_rules.c                         |  7 ++++++-
 .../selftests/net/netfilter/nft_fib.sh        | 21 ++++++++++++++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)


base-commit: 19c484e12ed269c1ce734f049cc5ccf12cb93a20
-- 
2.55.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-12-03 17:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 17:30 [PATCH net-next 0/2] ipv6: Use the FIB prefix length to suppress cached routes Leonard Lausen
2026-12-02 17:30 ` [PATCH net-next 1/2] ipv6: Use the FIB prefix length when suppressing " Leonard Lausen
2026-12-03  9:02   ` Ido Schimmel
2026-12-03 17:34   ` netdev-bot+sashiko
2026-12-02 17:30 ` [PATCH net-next 2/2] selftests: netfilter: cover IPv6 prefix suppression with a PMTU exception Leonard Lausen
2026-12-03 17:34   ` netdev-bot+sashiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox