[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176421338749.1916399.7175645336781698371.git-patchwork-notify@kernel.org>
Date: Thu, 27 Nov 2025 03:16:27 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Mohsin Bashir <mohsin.bashr@...il.com>
Cc: netdev@...r.kernel.org, alexanderduyck@...com, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, horms@...nel.org,
jacob.e.keller@...el.com, kernel-team@...a.com, kuba@...nel.org,
lee@...ger.us, pabeni@...hat.com, sanman.p211993@...il.com
Subject: Re: [PATCH net] eth: fbnic: Fix counter roll-over issue
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 25 Nov 2025 13:17:04 -0800 you wrote:
> Fix a potential counter roll-over issue in fbnic_mbx_alloc_rx_msgs()
> when calculating descriptor slots. The issue occurs when head - tail
> results in a large positive value (unsigned) and the compiler interprets
> head - tail - 1 as a signed value.
>
> Since FBNIC_IPC_MBX_DESC_LEN is a power of two, use a masking operation,
> which is a common way of avoiding this problem when dealing with these
> sort of ring space calculations.
>
> [...]
Here is the summary with links:
- [net] eth: fbnic: Fix counter roll-over issue
https://git.kernel.org/netdev/net/c/6d66e093e074
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