Re: [PATCH net V4 0/3] net/mlx5e: Fix crashes in dynamic per-channel stats and HV VHCA agent
From: patchwork-bot+netdevbpf
Date: Fri Jul 03 2026 - 13:51:03 EST
Hello:
This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Tue, 30 Jun 2026 14:51:48 +0300 you wrote:
> Hi,
>
> Since per-channel stats were converted to be allocated and published
> lazily at first channel open in commit fa691d0c9c08 ("net/mlx5e:
> Allocate per-channel stats dynamically at first usage"),
> priv->channel_stats[] and priv->stats_nch are filled in
> incrementally during interface bring-up. This opened a window in
> which the various stats readers - most of them reachable from
> userspace via netlink/netdev stats queries - can race with
> mlx5e_open_channel() on another CPU and observe partially
> initialized state. The HV VHCA stats agent, which is created
> before the channels are opened, hits related problems of its own.
>
> [...]
Here is the summary with links:
- [net,V4,1/3] net/mlx5e: Fix HV VHCA stats zero-sized buffer allocation
https://git.kernel.org/netdev/net/c/25f6b929c7e3
- [net,V4,2/3] net/mlx5e: Fix HV VHCA stats agent registration race
https://git.kernel.org/netdev/net/c/89b25b5f46f4
- [net,V4,3/3] net/mlx5e: Fix publication race for priv->channel_stats[]
https://git.kernel.org/netdev/net/c/5a799714e8ca
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html