commit | 7b81e2af5a55b07016afa81123d40acf70c994c0 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sun Dec 20 10:45:02 2020 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 30 11:54:04 2020 +0100 |
tree | 2e9dc84afe19c43cbaa66ac7fb1d85ab19395696 | |
parent | 5998fe548db9496ad0d151148ff1c6dbe1e0dacc [diff] |
io_uring: make ctx cancel on exit targeted to actual ctx commit 00c18640c2430c4bafaaeede1f9dd6f7ec0e4b25 upstream. 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: 24369c2e3bb0 ("io_uring: add io-wq workqueue sharing") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>