]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/timeout: fix multishot updates
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 4 Jan 2025 18:29:02 +0000 (18:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Sat, 4 Jan 2025 18:39:00 +0000 (11:39 -0700)
commitc83c846231db8b153bfcb44d552d373c34f78245
tree4a62ebff48767e5fd57c09e2aeb39e818b4d3761
parented123c948d06688d10f3b10a7bce1d6fbfd1ed07
io_uring/timeout: fix multishot updates

After update only the first shot of a multishot timeout request adheres
to the new timeout value while all subsequent retries continue to use
the old value. Don't forget to update the timeout stored in struct
io_timeout_data.

Cc: stable@vger.kernel.org
Fixes: ea97f6c8558e8 ("io_uring: add support for multishot timeouts")
Reported-by: Christian Mazakas <christian.mazakas@gmail.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e6516c3304eb654ec234cfa65c88a9579861e597.1736015288.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/timeout.c