Re: [PATCH net v1 1/1] net: phy: Clear link-specific data on link down

From: Jakub Kicinski
Date: Thu Aug 21 2025 - 20:54:55 EST


On Mon, 18 Aug 2025 14:11:59 +0200 Oleksij Rempel wrote:
> When a network interface is brought down, the associated PHY is stopped.
> However, several link-specific parameters within the phy_device struct
> are not cleared. This leads to userspace tools like ethtool reporting
> stale information from the last active connection, which is misleading
> as the link is no longer active.

Makes sense but unless you can point at a commit which brought this
behavior in I'm slightly worried about regressions. Not that I can
think of an exact scenario..

Could you please repost for net-next and let's see if we can attract
any PHY maintainer acks?
--
pw-bot: cr