Re: [PATCH net v2] ipv4: fix conntrack defrag forwarding after ip_frag_reinit()
From: patchwork-bot+netdevbpf
Date: Tue Nov 24 2026 - 21:50:08 EST
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@xxxxxxxxxx>:
On Fri, 20 Nov 2026 17:46:59 +0800 you wrote:
> q.max_size and max_df_size are used by ip_frag_reasm() to set
> IPCB(skb)->frag_max_size and the DF bit of the reassembled packet.
>
> ip_frag_reinit() reuses the queue for a new datagram but does not
> reset them, so the new datagram inherits them from the old one.
>
> On a router with conntrack defrag, if the largest fragment of the old
> datagram had DF set and was larger than the egress MTU, a new datagram
> without DF gets DF set after reassembly and is rejected with
> ICMP_FRAG_NEEDED, even though all its fragments fit.
>
> [...]
Here is the summary with links:
- [net,v2] ipv4: fix conntrack defrag forwarding after ip_frag_reinit()
https://git.kernel.org/netdev/net/c/3ab5aae0eb60
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html