Re: [PATCH v2] net: sched: fix possible refcount leak in tc_new_tfilter()
From: patchwork-bot+netdevbpf
Date: Thu Sep 22 2022 - 10:20:25 EST
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 21 Sep 2022 17:27:34 +0800 you wrote:
> tfilter_put need to be called to put the refount got by tp->ops->get to
> avoid possible refcount leak when chain->tmplt_ops != NULL and
> chain->tmplt_ops != tp->ops.
>
> Fixes: 7d5509fa0d3d ("net: sched: extend proto ops with 'put' callback")
> Signed-off-by: Hangyu Hua <hbh25y@xxxxxxxxx>
> Reviewed-by: Vlad Buslov <vladbu@xxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [v2] net: sched: fix possible refcount leak in tc_new_tfilter()
https://git.kernel.org/netdev/net/c/c2e1cfefcac3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html