Re: [PATCH net v3] net: clear skb->mac_len in skb_unset_mac_header()

From: patchwork-bot+netdevbpf

Date: Fri Nov 20 2026 - 19:50:13 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 17 Nov 2026 20:06:12 +0530 you wrote:
> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> skb_unset_mac_header() marks the mac header as unset but leaves
> skb->mac_len alone, so an skb can end up with no mac header and a
> non-zero mac_len. Code that uses mac_len to decide whether a mac
> header is present is then misled.
>
> [...]

Here is the summary with links:
- [net,v3] net: clear skb->mac_len in skb_unset_mac_header()
https://git.kernel.org/netdev/net/c/7a505bb0168a

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html