Re: [PATCH net-next v3] net: phy: Fix suspicious rcu_dereference usage

From: Jakub Kicinski
Date: Mon Jan 20 2025 - 14:12:37 EST


On Mon, 20 Jan 2025 15:19:25 +0100 Kory Maincent wrote:
> The path reported to not having RTNL lock acquired is the suspend path of
> the ravb MAC driver. Without this fix we got this warning:

I maintain that ravb is buggy, plenty of drivers take rtnl_lock
from the .suspend callback. We need _some_ write protection here,
the patch as is only silences a legitimate warning.
--
pw-bot: cr