Re: [PATCH net v3 0/4] net: phy: make PHY driver unbind safe against attach and use

From: Jakub Kicinski

Date: Tue Sep 29 2026 - 20:44:28 EST


On Fri, 25 Sep 2026 00:59:46 +0300 Aleksei Sviridkin wrote:
> v2: https://lore.kernel.org/netdev/20260919015340.499675-1-f@xxxxxx/
> - Retargeted to net, and the race closed with locking rather than a
> NULL test at attach entry, as asked in review.

AFAIU this is a long standing problem with PHYs, admin-only inflicted
self-harm. Let's switch to net-next until the merge window.

> - The module reference fix is its own patch.
> - New patch 1: a second attach no longer detaches the first consumer.
> - An unbind of an attached PHY now waits for the detach.

BTW what happened in v3? I only see a changelog for v2