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] [thread-next>] [day] [month] [year] [list]
Date: Thu, 21 Mar 2024 08:43:21 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: Florian Fainelli <f.fainelli@...il.com>, Vladimir Oltean
 <olteanv@...il.com>, "David S. Miller" <davem@...emloft.net>, Eric Dumazet
 <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Russell King
 <linux@...linux.org.uk>, Gregory Clement <gregory.clement@...tlin.com>,
 netdev@...r.kernel.org
Subject: Re: [PATCH RFC 2/7] net: Add helpers for netdev LEDs

On Thu, 21 Mar 2024 16:35:20 +0100 Andrew Lunn wrote:
> The struct device is actually part of struct net_device. It is not a
> pointer to a bus device. We have register_netdevice() ->
> netdev_register_kobject() -> device_initialize(). So the struct device
> in struct net_device to registered to the driver core.
> 
> unregister_netdevice_many_notify() -> netdev_unregister_kobject() ->
> device_del() -> devres_release_all().

Ah, I thought it's only triggered on bus remove. I guess it must be
triggered on both.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ