summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKazuki Hanai <hnkz.64@gmail.com>2026-08-30 22:11:05 +0900
committerKeith Busch <kbusch@kernel.org>2026-09-03 14:15:11 -0700
commiteaa948c0e19b1bb2d93262207bca0c3d19cc3406 (patch)
tree6261b3678e22ec05f2a087e60931b2d635e0331f /scripts/Makefile.thinlto
parent5cdd07a6882504c4b6e61169cce79e0720f77fca (diff)
downloadlinux-eaa948c0e19b1bb2d93262207bca0c3d19cc3406.tar.gz
linux-eaa948c0e19b1bb2d93262207bca0c3d19cc3406.zip
nvmet-auth: Synchronize timeout work during SQ teardown
nvmet_auth_sq_free() cancels auth_expired_work with cancel_delayed_work(). If the work has already started, cancellation does not wait for the callback. Transport teardown can consequently free or reuse the queue containing struct nvmet_sq while nvmet_auth_expired_work() still accesses that SQ. Add a teardown-specific helper that synchronously drains the delayed work before freeing authentication state, and use it from nvmet_sq_destroy(). Keep the non-synchronous helper for in-band authentication state cleanup, where the SQ owner remains alive. Fixes: 1a70200f404a ("nvmet-auth: expire authentication sessions") Cc: stable@vger.kernel.org Signed-off-by: Kazuki Hanai <hnkz.64@gmail.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions