]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/timeout: splice timed out link in timeout handler
authorJens Axboe <axboe@kernel.dk>
Wed, 20 May 2026 16:02:58 +0000 (10:02 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 May 2026 16:02:58 +0000 (10:02 -0600)
commit3d879647fb03dab6fe6e1dd9404a2dd324096218
tree0610db1be985188770de3a8c8780d60ca26d9bb9
parentcf18e36455603d65d4745de83e2d1743c54ada47
io_uring/timeout: splice timed out link in timeout handler

A previous commit deferred this to the task_work part of it, so it could
be protected by ->uring_lock. But that's actually not necessary here,
and in fact the head clearing is not enough to make that safe. For those
two reasons, just re-instate the local splicing.

Fixes: 49ae66eb8c27 ("io_uring: defer linked-timeout chain splice out of hrtimer context")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/timeout.c