Re: [PATCH v2] atlx: atl1: cancel reset and link works on remove
From: Jakub Kicinski
Date: Tue Sep 01 2026 - 19:32:00 EST
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