[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230424134213.GG50521@google.com>
Date: Mon, 24 Apr 2023 14:42:13 +0100
From: Lee Jones <lee@...nel.org>
To: Christian Marangi <ansuelsmth@...il.com>
Cc: Pavel Machek <pavel@....cz>, Martin Schiller <ms@....tdt.de>,
linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
Andrew Lunn <andrew@...n.ch>, stable@...r.kernel.org
Subject: Re: [PATCH 1/5] leds: trigger: netdev: recheck
NETDEV_LED_MODE_LINKUP on dev rename
On Wed, 19 Apr 2023, Christian Marangi wrote:
> Dev can be renamed also while up for supported device. We currently
> wrongly clear the NETDEV_LED_MODE_LINKUP flag on NETDEV_CHANGENAME
> event.
>
> Fix this by rechecking if the carrier is ok on NETDEV_CHANGENAME and
> correctly set the NETDEV_LED_MODE_LINKUP bit.
>
> Fixes: 5f820ed52371 ("leds: trigger: netdev: fix handling on interface rename")
> Signed-off-by: Christian Marangi <ansuelsmth@...il.com>
> Cc: stable@...r.kernel.org # v5.5+
> ---
> drivers/leds/trigger/ledtrig-netdev.c | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists