Re: [PATCH net-next] veth: fix data race in veth_get_ethtool_stats

From: patchwork-bot+netdevbpf

Date: Mon Jan 19 2026 - 09:22:07 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 14 Jan 2026 20:24:45 +0800 you wrote:
> In veth_get_ethtool_stats(), some statistics protected by
> u64_stats_sync, are read and accumulated in ignorance of possible
> u64_stats_fetch_retry() events. These statistics, peer_tq_xdp_xmit and
> peer_tq_xdp_xmit_err, are already accumulated by veth_xdp_xmit(). Fix
> this by reading them into a temporary buffer first.
>
> Signed-off-by: David Yang <mmyangfl@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net-next] veth: fix data race in veth_get_ethtool_stats
https://git.kernel.org/netdev/net/c/b47adaab8b3d

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