Re: [PATCH v3 net] net: microchip: vcap api: Fix possible memory leak in vcap_decode_rule()
From: patchwork-bot+netdevbpf
Date: Tue Aug 04 2026 - 21:21:15 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sat, 1 Aug 2026 11:25:05 +0530 you wrote:
> The memory allocated for struct vcap_rule_internal, keyfields and
> actionfields inside vcap_dup_rule() are not freed in some of the error
> paths in vcap_decode_rule(). Fix that by calling vcap_free_rule().
>
> Compile tested only. Issue found using a prototype static analysis tool
> built on top of the LLVM compiler infrastructure.
>
> [...]
Here is the summary with links:
- [v3,net] net: microchip: vcap api: Fix possible memory leak in vcap_decode_rule()
https://git.kernel.org/netdev/net-next/c/30ce0cb576b6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html