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

From: patchwork-bot+netdevbpf

Date: Thu Apr 02 2026 - 21:41:33 EST


Hello:

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

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.
https://korg.docs.kernel.org/patchwork/pwbot.html