[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b7ac7af8-5979-404f-a11a-ad558658e1f1@lunn.ch>
Date: Fri, 1 Dec 2023 22:57:18 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: Christian Marangi <ansuelsmth@...il.com>, Pavel Machek <pavel@....cz>,
Lee Jones <lee@...nel.org>, Jakub Kicinski <kuba@...nel.org>,
"linux-leds@...r.kernel.org" <linux-leds@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Simon Horman <horms@...nel.org>
Subject: Re: [PATCH v2] leds: trigger: netdev: fix RTNL handling to prevent
potential deadlock
On Fri, Dec 01, 2023 at 11:23:22AM +0100, Heiner Kallweit wrote:
> When working on LED support for r8169 I got the following lockdep
> warning. Easiest way to prevent this scenario seems to be to take
> the RTNL lock before the trigger_data lock in set_device_name().
>
> Fixes: d5e01266e7f5 ("leds: trigger: netdev: add additional specific link speed mode")
> Cc: stable@...r.kernel.org
> Signed-off-by: Heiner Kallweit <hkallweit1@...il.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists