Re: [PATCH net] veth: fix stale peer max_mtu on XDP program replacement
From: patchwork-bot+netdevbpf
Date: Fri Oct 23 2026 - 19:11:16 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 20 Oct 2026 10:01:47 +0800 you wrote:
> veth_xdp_set() calculates the peer MTU limit from the incoming program's
> XDP fragment capability, but only stores it when no program was attached.
> Replacing a program with one having a different fragment capability
> therefore leaves the peer's max_mtu stale.
>
> Replacing a regular program with an xdp.frags program keeps rejecting
> otherwise valid jumbo MTUs. The opposite replacement leaves a larger
> limit in place and permits MTUs which a fresh attachment of the regular
> program would reject.
>
> [...]
Here is the summary with links:
- [net] veth: fix stale peer max_mtu on XDP program replacement
https://git.kernel.org/netdev/net/c/c955325db639
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html