tag | 6daf5fb2bd34aba1ff829724397743c5402c69ef | |
---|---|---|
tagger | Jens Axboe <axboe@kernel.dk> | Fri Apr 08 14:51:09 2022 -0600 |
object | e677edbcabee849bfdd43f1602bccbecf736a646 |
io_uring-5.18-2022-04-08
commit | e677edbcabee849bfdd43f1602bccbecf736a646 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Apr 08 11:08:58 2022 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Apr 08 14:50:05 2022 -0600 |
tree | 0905f8265dd119a9ea65deef565add52ba6e3766 | |
parent | 4cdd158be9d09223737df83136a1fb65269d809a [diff] |
io_uring: fix race between timeout flush and removal io_flush_timeouts() assumes the timeout isn't in progress of triggering or being removed/canceled, so it unconditionally removes it from the timeout list and attempts to cancel it. Leave it on the list and let the normal timeout cancelation take care of it. Cc: stable@vger.kernel.org # 5.5+ Signed-off-by: Jens Axboe <axboe@kernel.dk>