Re: [PATCH net] net/mlx5e: Hold sync_lock while resetting VXLAN ports

From: patchwork-bot+netdevbpf

Date: Wed Nov 18 2026 - 18:50:13 EST


Hello:

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

On Thu, 12 Nov 2026 23:03:23 -0500 you wrote:
> mlx5_vxlan_reset_to_default() walks vxlan->htable without sync_lock
> and calls mlx5_vxlan_del_port() for each user port. mlx5e_nic_disable()
> and mlx5e_uplink_rep_disable() call it after rtnl_unlock(), so the
> udp_tunnel_nic work can run mlx5e_vxlan_unset_port() at the same time.
> If that removes and frees the entry saved as the next one in
> hash_for_each_safe(), the walk then reads freed memory.
>
> [...]

Here is the summary with links:
- [net] net/mlx5e: Hold sync_lock while resetting VXLAN ports
https://git.kernel.org/netdev/net/c/d61480a622be

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