Thread (2 messages) flat view 2 messages, 2 authors, 17d ago

Re: [PATCH v2] atlx: atl1: cancel reset and link works on remove

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-09-01 23:31:49
Also in: lkml, stable

On Fri, 28 Aug 2026 18:14:58 +0800 Shengzhuo Wei wrote:
atl1_reset_dev_task is scheduled from the interrupt handler on PCIe
PHY link down and DMA read/write errors, and link_chg_task can be
pending from link events. atl1_remove() tears down and frees the
net_device without cancelling either work, so a work scheduled just
before unregister_netdev() can run after free_netdev() and touch the
freed adapter.

Cancel both works before unregistering the net_device, as atl2_remove()
already does for its reset and link works.
This is not enough to fully fix the issue, please leave this driver
alone.
-- 
pw-bot: reject
pv-bot: slop
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help