Re: [PATCH v3 net] net: microchip: vcap api: Fix possible memory leak in vcap_decode_rule()

[email protected] Wed, 05 Aug 2026 01:20:21 +0000
Newsgroups gmane.linux.network,gmane.linux.ports.arm.kernel,gmane.linux.kernel,gmane.linux.kernel.stable
Message-ID <178589282164.3863162.1616529385793132402.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email protected]>:

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