[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166019821453.2125.16900691983468288417.git-patchwork-notify@kernel.org>
Date: Thu, 11 Aug 2022 06:10:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Thadeu Lima de Souza Cascardo <cascardo@...onical.com>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, zplin@...orthwestern.edu, kamal@...onical.com,
stable@...r.kernel.org
Subject: Re: [PATCH] net_sched: cls_route: remove from list when handle is 0
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 9 Aug 2022 14:05:18 -0300 you wrote:
> When a route filter is replaced and the old filter has a 0 handle, the old
> one won't be removed from the hashtable, while it will still be freed.
>
> The test was there since before commit 1109c00547fc ("net: sched: RCU
> cls_route"), when a new filter was not allocated when there was an old one.
> The old filter was reused and the reinserting would only be necessary if an
> old filter was replaced. That was still wrong for the same case where the
> old handle was 0.
>
> [...]
Here is the summary with links:
- net_sched: cls_route: remove from list when handle is 0
https://git.kernel.org/netdev/net/c/9ad36309e271
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