Files
openwrt/target/linux
Aleksei Sviridkin 5dcf6a3b3d generic: backport phylink fix for a PHY recorded before bringup fails
phylink_bringup_phy() stores the PHY in pl->phydev before its last
step that can fail. If that step fails, the pointer outlives the
failed connect: a later phylink_connect_phy() gets a permanent -EBUSY,
the SFP path is left with a pointer to a freed phy_device, and a
disconnect detaches the same PHY twice. The fix publishes the pointer
only after the last call that can fail.

It is also the base the pending phylink late-PHY series relies on:
retrying a connect after a failed bringup is what makes this window
reachable.

The fix is in net:
https://git.kernel.org/netdev/net/c/a940003f44e7

The phylink patches that apply on top of it are refreshed for hunk
offsets.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
Link: https://github.com/openwrt/openwrt/pull/25459
Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>
2026-09-28 23:58:48 +02:00
..
2026-09-16 11:43:34 +02:00
2026-09-27 10:18:31 +02:00
2026-07-23 09:08:57 +02:00
2026-09-12 23:09:38 +02:00
2026-09-16 11:43:33 +02:00
2026-05-07 18:15:54 +02:00
2026-09-24 19:05:45 +02:00
2026-04-16 14:55:36 +02:00
2026-09-16 11:43:34 +02:00
2026-08-13 00:22:31 +02:00
2026-07-08 19:13:25 +02:00
2026-04-19 13:21:21 +02:00
2026-09-16 11:43:34 +02:00
2026-08-04 09:36:49 +02:00
2026-09-27 21:51:09 +02:00
2026-09-16 11:43:34 +02:00