Re: [PATCH net v2] net/mlx5e: Skip hairpin entries not ready in debugfs dump

From: patchwork-bot+netdevbpf

Date: Thu Nov 26 2026 - 05:50:13 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Thu, 19 Nov 2026 21:15:57 -0500 you wrote:
> mlx5e_hairpin_flow_add() adds a new hairpin entry to hairpin_tbl and
> drops hairpin_tbl_lock before creating the hairpin, and sets hpe->hp
> only after mlx5e_hairpin_create() returns. Other users of the entry wait
> for res_ready, but debugfs_hairpin_table_dump_show() does not, so
> reading hairpin_table_dump in that window dereferences a NULL hpe->hp,
> or an ERR_PTR when the creation fails.
>
> [...]

Here is the summary with links:
- [net,v2] net/mlx5e: Skip hairpin entries not ready in debugfs dump
https://git.kernel.org/netdev/net-next/c/65413721880b

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