mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
io_uring: ensure deferred timeouts copy necessary data
If we defer a timeout, we should ensure that we copy the timespec when we have consumed the sqe. This is similar to commitf67676d160for read/write requests. We already did this correctly for timeouts deferred as links, but do it generally and use the infrastructure added by commit1a6b74fc87instead of having the timeout deferral use its own. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
901e59bba9
commit
2d28390aff
1 changed files with 42 additions and 41 deletions
Loading…
Add table
Add a link
Reference in a new issue