Re: [PATCH net-next v2] net: ethtool: Fix suspicious rcu_dereference usage

From: patchwork-bot+netdevbpf
Date: Mon Dec 23 2024 - 13:51:24 EST


Hello:

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

On Fri, 20 Dec 2024 09:37:40 +0100 you wrote:
> The __ethtool_get_ts_info function can be called with or without the
> rtnl lock held. When the rtnl lock is not held, using rtnl_dereference()
> triggers a warning due to the lack of lock context.
>
> Add an rcu_read_lock() to ensure the lock is acquired and to maintain
> synchronization.
>
> [...]

Here is the summary with links:
- [net-next,v2] net: ethtool: Fix suspicious rcu_dereference usage
https://git.kernel.org/netdev/net-next/c/4c61d809cf60

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