Re: [RFC][PATCH v2 08/31] timers: Bluetooth: Use del_timer_shutdown() before freeing timer

From: Steven Rostedt
Date: Fri Oct 28 2022 - 20:33:03 EST


On Fri, 28 Oct 2022 17:12:44 -0700
Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote:

> Acked-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

Thanks, but I will be sending a v2 as the naming is going to change.

>
> Btw, we do seem to have similar problems with the likes of
> cancel_delayed_work/cancel_delayed_work_sync so wonder if it wouldn't
> be the case to introduce something like shutdown_delayed_work before
> freeing the struct/object containing it?

As I stated here:

https://lore.kernel.org/all/20221028100052.2e392127@xxxxxxxxxxxxxxxxxx/

That may be the next endevour I partake in.


Cheers,

-- Steve