[PATCH net 0/2] net: macb: fix two probe path leaks
From: Nicolai Buchwitz
Date: Mon Sep 07 2026 - 17:15:50 EST
Two independent leaks on macb probe paths, both noticed while reviewing
the fixed-link unbind crash fix [1].
Patch 1 destroys the phylink instance when probe fails after
macb_mii_init() has succeeded. Patch 2 drops the "mdio" child node
reference on the success path of macb_mii_init().
[1] https://lore.kernel.org/netdev/20260902102836.2019355-1-vineeth.karumanchi@xxxxxxx/
Nicolai Buchwitz (2):
net: macb: destroy the phylink instance on the probe error path
net: macb: put the "mdio" child node reference on success
drivers/net/ethernet/cadence/macb_main.c | 3 +++
1 file changed, 3 insertions(+)
base-commit: 38b6be101006d3e7af972999f45d4f1e8250587a
--
2.53.0