[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173336822932.1425191.15392762054831061043.git-patchwork-notify@kernel.org>
Date: Thu, 05 Dec 2024 03:10:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Breno Leitao <leitao@...ian.org>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, horms@...nel.org, michal.kubiak@...el.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
herbert@...dor.apana.org.au, jacob.e.keller@...el.com
Subject: Re: [PATCH RESEND net-next v2] netpoll: Use rtnl_dereference() for
npinfo pointer access
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
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
Powered by blists - more mailing lists