Re: [PATCH net-next 10/13] net: phy: phy_link_topology: Add a helper to retrieve ports
From: Romain Gantois
Date: Thu Jan 29 2026 - 03:58:51 EST
On Tuesday, 27 January 2026 14:41:58 CET Maxime Chevallier wrote:
> In order to allow netlink access to phy_ports, let's add a helper to
> retrieve them. When handling a port coming from phy_link_topology, the
> caller must hold rtnl until it's done with it.
Why not use rtnl-specific lockdep annotations to make this more explicit?
Thanks,
--
Romain Gantois, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Attachment:
signature.asc
Description: This is a digitally signed message part.