* Re: WARNING in delayed_work_timer_fn
[not found] <6a3eeec7.ade5411d.badf0.e138@mx.google.com>
@ 2026-06-29 18:51 ` Tejun Heo
0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2026-06-29 18:51 UTC (permalink / raw)
To: Sanan Hasanov, jiangshanlai, linux-kernel
Cc: syzkaller, contact, Marcel Holtmann, Luiz Augusto von Dentz,
linux-bluetooth
Hello,
> workqueue: cannot queue hci_conn_timeout on wq hci4
> WARNING: kernel/workqueue.c:2271 at __queue_work+0xd2b/0xff0
conn->disc_work (hci_conn_timeout) is a delayed work item queued on
hdev->workqueue. Its timer expires after the workqueue has started being
torn down, so __queue_work() refuses to queue it and warns.
Arguably this is a shortcoming in workqueue, but as it stands a delayed work
item has to be canceled explicitly before the workqueue it's queued on is
destroyed. disc_work needs to be canceled on the Bluetooth side before
hdev->workqueue is torn down.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-29 18:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <6a3eeec7.ade5411d.badf0.e138@mx.google.com>
2026-06-29 18:51 ` WARNING in delayed_work_timer_fn Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox