Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] ipv4: Don't cache a pmtu above the device mtu of a path
@ 2026-11-24 15:37 Vladimir Vdovin
  2026-11-24 15:37 ` [PATCH net-next 1/2] " Vladimir Vdovin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vladimir Vdovin @ 2026-11-24 15:37 UTC (permalink / raw)
  To: David Ahern, Ido Schimmel, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Simon Horman, Shuah Khan
  Cc: netdev, linux-kselftest, Vladimir Vdovin

The mtu of a Fragmentation Needed is cached on every path of a multipath
route, but checked against the looked-up path only. A path whose device
mtu is lower gets a pmtu above what it can carry, and its flows
blackhole until the exception expires. Patch 1 skips such a path, patch
2 adds a test for it.

Split out of [1] with Ido's suggestion; the IPv6 part follows once this
is in.

[1] https://lore.kernel.org/netdev/20261117193141.27004-1-deliran@verdict.gg/

Vladimir Vdovin (2):
  ipv4: Don't cache a pmtu above the device mtu of a path
  selftests: net: pmtu: Add a multipath test with paths of different MTU

 net/ipv4/route.c                    |  2 +
 tools/testing/selftests/net/pmtu.sh | 74 ++++++++++++++++++++++++++++-
 2 files changed, 75 insertions(+), 1 deletion(-)


base-commit: 2388bb763e323442f4dd8189238ac0c5f334c4a0
-- 
2.56.0


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

end of thread, other threads:[~2026-11-24 15:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 15:37 [PATCH net-next 0/2] ipv4: Don't cache a pmtu above the device mtu of a path Vladimir Vdovin
2026-11-24 15:37 ` [PATCH net-next 1/2] " Vladimir Vdovin
2026-11-24 15:37 ` [PATCH net-next 2/2] selftests: net: pmtu: Add a multipath test with paths of different MTU Vladimir Vdovin
2026-11-24 15:44 ` [PATCH net-next 0/2] ipv4: Don't cache a pmtu above the device mtu of a path netdev-bot+sinfo

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