Thread (3 messages) flat view 3 messages, 1 author, 1d ago
DORMANTno replies

[PATCH net 0/2] net: macb: fix two probe path leaks

From: Nicolai Buchwitz <hidden>
Date: 2026-09-07 21:09:49
Also in: lkml

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@amd.com/ (local)

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help