Commit cbe7b911 authored by Alexey Izbyshev's avatar Alexey Izbyshev Committed by Greg Kroah-Hartman
Browse files

io_uring: Fix io_cqring_wait() not restoring sigmask on get_timespec64() failure



Commit 978e5c19 upstream.

This bug was introduced in commit 950e79dd ("io_uring: minor
io_cqring_wait() optimization"), which was made in preparation for
adc8682e ("io_uring: Add support for napi_busy_poll"). The latter
got reverted in cb318216 ("Revert "io_uring: Add support for
napi_busy_poll""), so simply undo the former as well.

Cc: stable@vger.kernel.org
Fixes: 950e79dd ("io_uring: minor io_cqring_wait() optimization")
Signed-off-by: default avatarAlexey Izbyshev <izbyshev@ispras.ru>
Link: https://lore.kernel.org/r/20240405125551.237142-1-izbyshev@ispras.ru


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 121a83be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment