Thread (2 messages) flat view 2 messages, 2 authors, 2025-11-28

Re: [PATCH net-next] gve: Fix race condition on tx->dropped_pkt update

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-11-28 02:23:19
Also in: lkml

Hello:

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

On Thu, 27 Nov 2025 00:07:51 +0000 you wrote:
From: Max Yuan <redacted>

The tx->dropped_pkt counter is a 64-bit integer that is incremented
directly. On 32-bit architectures, this operation is not atomic and
can lead to read/write tearing if a reader accesses the counter during
the update. This can result in incorrect values being reported for
dropped packets.

[...]
Here is the summary with links:
  - [net-next] gve: Fix race condition on tx->dropped_pkt update
    https://git.kernel.org/netdev/net-next/c/858b1d07e491

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