[PATCH net-next] net: spacemit: Make stats_lock softirq-safe
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Mon Sep 22 12:00:25 PDT 2025
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Fri, 19 Sep 2025 20:04:33 +0800 you wrote:
> While most of the statistics functions (emac_get_stats64() and such) are
> called with softirqs enabled, emac_stats_timer() is, as its name
> suggests, also called from a timer, i.e. called in softirq context.
>
> All of these take stats_lock. Therefore, make stats_lock softirq-safe by
> changing spin_lock() into spin_lock_bh() for the functions that get
> statistics.
>
> [...]
Here is the summary with links:
- [net-next] net: spacemit: Make stats_lock softirq-safe
https://git.kernel.org/netdev/net-next/c/35626012877b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list