Re: [PATCH net v2] net: airoha: Fix PPE table access in airoha_ppe_debugfs_foe_show()
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-08-01 21:22:41
Also in:
linux-mediatek, netdev
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-08-01 21:22:41
Also in:
linux-mediatek, netdev
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski [off-list ref]: On Thu, 31 Jul 2025 12:29:08 +0200 you wrote:
In order to avoid any possible race we need to hold the ppe_lock
spinlock accessing the hw PPE table. airoha_ppe_foe_get_entry routine is
always executed holding ppe_lock except in airoha_ppe_debugfs_foe_show
routine. Fix the problem introducing airoha_ppe_foe_get_entry_locked
routine.
Fixes: 3fe15c640f380 ("net: airoha: Introduce PPE debugfs support")
Reviewed-by: Dawid Osuchowski <redacted>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
[...]
Here is the summary with links:
- [net,v2] net: airoha: Fix PPE table access in airoha_ppe_debugfs_foe_show()
https://git.kernel.org/netdev/net/c/38358fa3cc8e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html