[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176357041250.873046.17131882776763838281.git-patchwork-notify@kernel.org>
Date: Wed, 19 Nov 2025 16:40:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Russell King (Oracle) <linux@...linux.org.uk>
Cc: andrew@...n.ch, hkallweit1@...il.com, alexandre.torgue@...s.st.com,
andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com, mcoquelin.stm32@...il.com,
netdev@...r.kernel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next 0/2] net: stmmac: sanitise stmmac_is_jumbo_frm()
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 18 Nov 2025 10:00:08 +0000 you wrote:
> stmmac_is_jumbo_frm() takes skb->len, which is unsigned int, but the
> parameter is passed as an "int" and then tested using signed
> comparisons. This can cause bugs. Change the parameter to be unsigned.
>
> Also arrange for it to return a bool.
>
> drivers/net/ethernet/stmicro/stmmac/chain_mode.c | 9 ++++-----
> drivers/net/ethernet/stmicro/stmmac/hwif.h | 2 +-
> drivers/net/ethernet/stmicro/stmmac/ring_mode.c | 9 ++-------
> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 6 +++---
> 4 files changed, 10 insertions(+), 16 deletions(-)
Here is the summary with links:
- [net-next,1/2] net: stmmac: stmmac_is_jumbo_frm() len should be unsigned
https://git.kernel.org/netdev/net-next/c/b5adada61e02
- [net-next,2/2] net: stmmac: stmmac_is_jumbo_frm() returns boolean
https://git.kernel.org/netdev/net-next/c/bf351bbec57f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists