• Jens Axboe's avatar
    io_uring: fix race between timeout flush and removal · e677edbc
    Jens Axboe authored
    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: default avatarJens Axboe <axboe@kernel.dk>
    e677edbc
io_uring.c 293 KB