Thread (4 messages) 4 messages, 4 authors, 2024-10-15

Re: [PATCH][next][V2] octeontx2-af: Fix potential integer overflows on integer shifts

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-10-15 11:40:27
Also in: kernel-janitors, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:

On Thu, 10 Oct 2024 16:45:19 +0100 you wrote:
The left shift int 32 bit integer constants 1 is evaluated using 32 bit
arithmetic and then assigned to a 64 bit unsigned integer. In the case
where the shift is 32 or more this can lead to an overflow. Avoid this
by shifting using the BIT_ULL macro instead.

Fixes: 019aba04f08c ("octeontx2-af: Modify SMQ flush sequence to drop packets")
Signed-off-by: Colin Ian King <redacted>

[...]
Here is the summary with links:
  - [next,V2] octeontx2-af: Fix potential integer overflows on integer shifts
    https://git.kernel.org/netdev/net/c/637c4f6fe40b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help