Re: [PATCH net] net: sparx5: free the matchall entry on destroy
From: patchwork-bot+netdevbpf
Date: Thu Oct 08 2026 - 14:05:06 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 7 Oct 2026 17:03:15 +0200 you wrote:
> sparx5_tc_matchall_replace() allocates a struct sparx5_mall_entry for
> every offloaded matchall filter and adds it to sparx5->mall_entries.
> sparx5_tc_matchall_destroy() removes the entry from the list, but never
> frees it, so the entry of every deleted mirror and goto matchall filter
> is leaked.
>
> Free the entry after unlinking it.
>
> [...]
Here is the summary with links:
- [net] net: sparx5: free the matchall entry on destroy
https://git.kernel.org/netdev/net/c/2b82e16d6084
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html