Re: [PATCH net] net/mlx5: HWS, fix matcher leak on resize target setup failure

From: patchwork-bot+netdevbpf

Date: Thu Jul 02 2026 - 03:58:50 EST


Hello:

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

On Mon, 29 Jun 2026 14:40:49 +0800 you wrote:
> hws_bwc_matcher_move() allocates a replacement matcher before setting it
> as the resize target. If mlx5hws_matcher_resize_set_target() fails, the
> replacement matcher is not attached anywhere and is leaked.
>
> Fix the leak by destroying the replacement matcher before returning from
> the resize-target failure path.
>
> [...]

Here is the summary with links:
- [net] net/mlx5: HWS, fix matcher leak on resize target setup failure
https://git.kernel.org/netdev/net/c/bb09d0e64eca

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