Re: [PATCH net v2] netpoll: hold rcu read lock in __netpoll_send_skb()
From: patchwork-bot+netdevbpf
Date: Fri Mar 07 2025 - 23:10:10 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 06 Mar 2025 05:16:18 -0800 you wrote:
> The function __netpoll_send_skb() is being invoked without holding the
> RCU read lock. This oversight triggers a warning message when
> CONFIG_PROVE_RCU_LIST is enabled:
>
> net/core/netpoll.c:330 suspicious rcu_dereference_check() usage!
>
> netpoll_send_skb
> netpoll_send_udp
> write_ext_msg
> console_flush_all
> console_unlock
> vprintk_emit
>
> [...]
Here is the summary with links:
- [net,v2] netpoll: hold rcu read lock in __netpoll_send_skb()
https://git.kernel.org/netdev/net/c/505ead7ab77f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html