Re: [PATCH] net/sched: cls_api: Always acquire rtnl_lock when destroying locked classifiers

[email protected] Tue, 04 Aug 2026 14:40:05 +0000
Newsgroups gmane.linux.network,gmane.linux.kernel.stable
Message-ID <178585440589.3186075.1456142899655290504.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email protected]>:

On Sat,  1 Aug 2026 08:56:32 -0400 you wrote:
> Another challenge with unlocked filters.
> There is a short window in tc_new_tfilter where a tcf_proto can be found
> and briefly referenced by a totally unrelated, unlocked classifier's request
> and cause a race.
> 
> Feng created a poc which created this race with two threads, one creating a
> u32 filter and other a flower filter in the same chain/prio:
> 
> [...]

Here is the summary with links:
  - net/sched: cls_api: Always acquire rtnl_lock when destroying locked classifiers
    https://git.kernel.org/netdev/net/c/a347304b2ca1

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html