Skip to content
Commit 00c18640 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: make ctx cancel on exit targeted to actual ctx



Before IORING_SETUP_ATTACH_WQ, we could just cancel everything on the
io-wq when exiting. But that's not the case if they are shared, so
cancel for the specific ctx instead.

Cc: stable@vger.kernel.org
Fixes: 24369c2e ("io_uring: add io-wq workqueue sharing")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent dd201662
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment