lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANn89iJe9SJztXHQE6a3JGGSeMp2TLAQX8bE-cggWbxv7LeEjA@mail.gmail.com>
Date: Fri, 21 Feb 2025 17:38:34 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>
Cc: Simon Horman <horms@...nel.org>, netdev@...r.kernel.org, 
	Antoine Tenart <atenart@...nel.org>, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] net-sysfs: restore behavior for not running devices

On Fri, Feb 21, 2025 at 6:12 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> modprobe dummy dumdummies=1
>
> Old behavior :
>
> $ cat /sys/class/net/dummy0/carrier
> cat: /sys/class/net/dummy0/carrier: Invalid argument
>
> After blamed commit, an empty string is reported.
>
> $ cat /sys/class/net/dummy0/carrier
> $
>
> In this commit, I restore the old behavior for carrier,
> speed and duplex attributes.
>
> Fixes: 79c61899b5ee ("net-sysfs: remove rtnl_trylock from device attributes")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>

If possible, can we add :

Reported-by: Marco Leogrande <leogrande@...gle.com>

Thanks !

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ