From: Ido Schimmel <idosch@nvidia.com>
To: Vladimir Vdovin <deliran@verdict.gg>
Cc: David Ahern <dsahern@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>, Shuah Khan <shuah@kernel.org>,
netdev@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH net-next 0/2] ipv4: Don't cache a pmtu above the device mtu of a path
Date: Thu, 26 Nov 2026 14:26:56 +0200 [thread overview]
Message-ID: <20261126122656.GA729805@shredder> (raw)
In-Reply-To: <20261124153730.56549-1-deliran@verdict.gg>
On Tue, Nov 24, 2026 at 06:37:28PM +0300, Vladimir Vdovin wrote:
> 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/
A few notes:
1. The bot will most likely complain about a missing Fixes tag. I don't
think it's worth it. Nobody reported encountering this problem, it
requires an unusual setup (nexthop devices with different MTU) and the
PMTU needs to fall between these MTUs.
2. The patch doesn't handle an even more unlikely case where the PTB
lookup resolves a dst entry on a different nexthop than the nexthop via
which the quoted packet egressed, and the MTU of that nexthop is lower
than the PMTU. It's not worth the complexity. See more in [1].
3. An exception can be cached with a PMTU above the device MTU if the
device MTU is lowered concurrently. It's pre-existing and very unlikely.
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
prev parent reply other threads:[~2026-11-26 12:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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
2026-11-26 12:26 ` Ido Schimmel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261126122656.GA729805@shredder \
--to=idosch@nvidia.com \
--cc=davem@davemloft.net \
--cc=deliran@verdict.gg \
--cc=dsahern@kernel.org \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox