aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJames Hilliard <james.hilliard1@gmail.com>2026-10-13 11:37:11 -0600
committerPaolo Abeni <pabeni@redhat.com>2026-10-19 15:20:46 +0200
commitecb8b18051a1b928ade055fcdabc06186a89493f (patch)
treeacdba517d9b62fac2b8df2b7d644464892c9f284 /scripts/Makefile.thinlto
parentMerge branch 'ipv4-remove-netns-argument-from-fib_table_lookup' (diff)
net: stmmac: unwind the WoL IRQ after a safety IRQ request failure
The safety IRQ is requested after the MAC and optional WoL IRQs. If its request fails, stmmac_free_irq() frees the unregistered safety IRQ and leaks the WoL handler. This can warn about an already-free IRQ and make the next open fail. Move the safety and WoL cleanup labels into reverse acquisition order. This was found by code inspection while working on the stmmac MTU/resume recovery series. Injecting a safety IRQ request failure in QEMU with mocked MAC/DMA hardware reproduced the "Trying to free already-free IRQ" warning and leaked WoL handler. The failure has not been observed without fault injection. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20261013-stmmac-irq-unwind-v3-1-fff4e2db805a@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions