Files
linux/io_uring
Jens Axboe 2482f7705b io_uring: always arm linked timeouts prior to issue
Commit b53e523261 upstream.

There are a few spots where linked timeouts are armed, and not all of
them adhere to the pre-arm, attempt issue, post-arm pattern. This can
be problematic if the linked request returns that it will trigger a
callback later, and does so before the linked timeout is fully armed.

Consolidate all the linked timeout handling into __io_issue_sqe(),
rather than have it spread throughout the various issue entry points.

Cc: stable@vger.kernel.org
Link: https://github.com/axboe/liburing/issues/1390
Reported-by: Chase Hiltz <chase@path.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-18 08:24:57 +02:00
..
2025-03-22 12:54:14 -07:00
2024-06-19 07:57:21 -06:00
2022-07-24 18:39:11 -06:00
2025-04-25 10:48:06 +02:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00