From: Tejun Heo <tj@kernel.org>
To: Sanan Hasanov <sanan.hasanou@gmail.com>,
jiangshanlai@gmail.com, linux-kernel@vger.kernel.org
Cc: syzkaller@googlegroups.com, contact@pgazz.com,
Marcel Holtmann <marcel@holtmann.org>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
linux-bluetooth@vger.kernel.org
Subject: Re: WARNING in delayed_work_timer_fn
Date: Mon, 29 Jun 2026 08:51:37 -1000 [thread overview]
Message-ID: <1793c0326127168c468d0e363723f55e@kernel.org> (raw)
In-Reply-To: <6a3eeec7.ade5411d.badf0.e138@mx.google.com>
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
prev parent reply other threads:[~2026-06-29 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-26 21:27 WARNING in delayed_work_timer_fn sanan.hasanou
2026-06-29 18:51 ` Tejun Heo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1793c0326127168c468d0e363723f55e@kernel.org \
--to=tj@kernel.org \
--cc=contact@pgazz.com \
--cc=jiangshanlai@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=sanan.hasanou@gmail.com \
--cc=syzkaller@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox