[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164833981043.9928.13914220992098033920.git-patchwork-notify@kernel.org>
Date: Sun, 27 Mar 2022 00:10:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Cc: netdev@...r.kernel.org, fw@...len.de, paulb@...dia.com,
jhs@...atatu.com, xiyou.wangcong@...il.com
Subject: Re: [PATCH net] net/sched: act_ct: fix ref leak when switching zones
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 24 Mar 2022 16:22:10 -0300 you wrote:
> When switching zones or network namespaces without doing a ct clear in
> between, it is now leaking a reference to the old ct entry. That's
> because tcf_ct_skb_nfct_cached() returns false and
> tcf_ct_flow_table_lookup() may simply overwrite it.
>
> The fix is to, as the ct entry is not reusable, free it already at
> tcf_ct_skb_nfct_cached().
>
> [...]
Here is the summary with links:
- [net] net/sched: act_ct: fix ref leak when switching zones
https://git.kernel.org/netdev/net/c/bcb74e132a76
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