Re: [PATCH net-next] net: spacemit: Make stats_lock softirq-safe

From: patchwork-bot+netdevbpf

Date: Mon Sep 22 2025 - 15:00:28 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

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