Re: [PATCH RESEND net-next v2] netpoll: Use rtnl_dereference() for npinfo pointer access

From: patchwork-bot+netdevbpf
Date: Wed Dec 04 2024 - 22:10:22 EST


Hello:

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

On Mon, 02 Dec 2024 16:22:05 -0800 you wrote:
> In the __netpoll_setup() function, when accessing the device's npinfo
> pointer, replace rcu_access_pointer() with rtnl_dereference(). This
> change is more appropriate, as suggested by Herbert Xu[1].
>
> The function is called with the RTNL mutex held, and the pointer is
> being dereferenced later, so, dereference earlier and just reuse the
> pointer for the if/else.
>
> [...]

Here is the summary with links:
- [RESEND,net-next,v2] netpoll: Use rtnl_dereference() for npinfo pointer access
https://git.kernel.org/netdev/net-next/c/a9ab02ed97c6

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html