[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172559346306.1921528.17445029403392757877.git-patchwork-notify@kernel.org>
Date: Fri, 06 Sep 2024 03:31:03 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Joe Damato <jdamato@...tly.com>
Cc: netdev@...r.kernel.org, mkarsten@...terloo.ca, edumazet@...gle.com,
kuba@...nel.org, davem@...emloft.net, pabeni@...hat.com, corbet@....net,
leitao@...ian.org, aleksander.lobakin@...el.com, johannes.berg@...el.com,
jamie.bainbridge@...il.com, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] net: napi: Prevent overflow of
napi_defer_hard_irqs
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 4 Sep 2024 15:34:30 +0000 you wrote:
> In commit 6f8b12d661d0 ("net: napi: add hard irqs deferral feature")
> napi_defer_irqs was added to net_device and napi_defer_irqs_count was
> added to napi_struct, both as type int.
>
> This value never goes below zero, so there is not reason for it to be a
> signed int. Change the type for both from int to u32, and add an
> overflow check to sysfs to limit the value to S32_MAX.
>
> [...]
Here is the summary with links:
- [net-next,v2] net: napi: Prevent overflow of napi_defer_hard_irqs
https://git.kernel.org/netdev/net-next/c/08062af0a521
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