Thread (3 messages) 3 messages, 3 authors, 22d ago

Re: [PATCH net] net/sched: sch_teql: move rcu_read_lock()/spin_lock() from _bh variants

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-03 14:10:23

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:

On Tue, 30 Jun 2026 11:09:22 -0400 you wrote:
This is a followup based on sashiko comments [1] on commit e5b811fe7931
("net/sched: sch_teql: Introduce slaves_lock to avoid race condition and UAF")

Use plain rcu_read_lock()/spin_lock() in teql_master_xmit() instead of the
_bh variants, since ndo_start_xmit is already invoked with BH disabled
by the core stack and the _bh primitives can warn in_hardirq() when xmit
is reached through netpoll or a softirq xmit path with hard IRQs disabled.

[...]
Here is the summary with links:
  - [net] net/sched: sch_teql: move rcu_read_lock()/spin_lock() from _bh variants
    https://git.kernel.org/netdev/net/c/6301f6a34ed8

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help