Re: [RFC PATCH 6.6.y] atm: he: kill tasklet before releasing queues
From: Greg KH
Date: Fri Jul 24 2026 - 01:45:44 EST
On Fri, Jul 24, 2026 at 01:27:10PM +0800, Hongyan Xu wrote:
> The interrupt handler schedules a tasklet which accesses the device queues.
> tasklet_disable() waits for a running instance, but leaves a scheduled
> instance pending while he_stop() releases those queues and the device.
>
> After masking device interrupts, unregister the IRQ so the handler can no
> longer schedule the tasklet, then kill the tasklet before releasing any of
> its data.
>
> The affected driver was removed upstream by commit 6deb53595092 ("net:
> remove unused ATM protocols and legacy ATM device drivers"). This change
> is intended for maintained stable kernels which still carry the driver.
Why don't we just delete the driver instead as obviously no one uses
this. Unless you have the hardware to test these changes?
thanks,
greg k-h