[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176308440876.1078849.9405097045494975338.git-patchwork-notify@kernel.org>
Date: Fri, 14 Nov 2025 01:40:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Zilin Guan <zilin@....edu.cn>
Cc: idosch@...dia.com, petrm@...dia.com, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org, jianhao.xu@....edu.cn
Subject: Re: [PATCH] mlxsw: spectrum: Fix memory leak in
mlxsw_sp_flower_stats()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 12 Nov 2025 05:21:14 +0000 you wrote:
> The function mlxsw_sp_flower_stats() calls mlxsw_sp_acl_ruleset_get() to
> obtain a ruleset reference. If the subsequent call to
> mlxsw_sp_acl_rule_lookup() fails to find a rule, the function returns
> an error without releasing the ruleset reference, causing a memory leak.
>
> Fix this by using a goto to the existing error handling label, which
> calls mlxsw_sp_acl_ruleset_put() to properly release the reference.
>
> [...]
Here is the summary with links:
- mlxsw: spectrum: Fix memory leak in mlxsw_sp_flower_stats()
https://git.kernel.org/netdev/net/c/407a06507c23
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists