On Wed, 12 Aug 2020 13:10:57 +0300 Shay Agroskin wrote: > This patch also removes the destruction of the timer and reset services > from ena_remove() since the timer is destroyed by the destruction > routine and the reset work is handled by this patch.
You'd still have a use after free if the work runs after the device is removed. I think cancel_work_sync() gotta stay.