Re: [PATCH net v2] net: stmmac: fix integer underflow in chain mode

patchwork-bot+netdevbpf
2026-04-03T01:40:23Z

Hello:

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

On Tue, 31 Mar 2026 23:47:07 -0500 you wrote:
> The jumbo_frm() chain-mode implementation unconditionally computes
>
> len = nopaged_len - bmax;
>
> where nopaged_len = skb_headlen(skb) (linear bytes only) and bmax is
> BUF_SIZE_8KiB or BUF_SIZE_2KiB. However, the caller stmmac_xmit()
> decides to invoke jumbo_frm() based on skb->len (total length including
> page fragments):
>
> [...]

Here is the summary with links:
- [net,v2] net: stmmac: fix integer underflow in chain mode
https://git.kernel.org/netdev/net/c/51f4e090b9f8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.