Re: [PATCH net-next] net: rmnet: annotate endpoint lookup under RTNL
From: patchwork-bot+netdevbpf
Date: Wed Jul 08 2026 - 04:50:14 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Wed, 1 Jul 2026 20:40:17 +0800 you wrote:
> rmnet_get_endpoint() is shared by packet receive paths and
> RTNL-protected control paths. The receive paths already run under RCU/BH
> context through the RX handler, while the control paths reach
> rmnet_get_endpoint() after obtaining the rmnet port with
> rmnet_get_port_rtnl().
>
> The helper walks port->muxed_ep[] with hlist_for_each_entry_rcu(). Pass
> lockdep_rtnl_is_held() as the non-RCU protection condition so
> CONFIG_PROVE_RCU_LIST can see the RTNL-protected control-path calls
> while preserving the existing RCU-reader behavior for data paths.
>
> [...]
Here is the summary with links:
- [net-next] net: rmnet: annotate endpoint lookup under RTNL
https://git.kernel.org/netdev/net-next/c/4fa0619d039f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html