Skip to content
Commit e697deed authored by Jiufei Xue's avatar Jiufei Xue Committed by Jens Axboe
Browse files

io_uring: check file O_NONBLOCK state for accept



If the socket is O_NONBLOCK, we should complete the accept request
with -EAGAIN when data is not ready.

Signed-off-by: default avatarJiufei Xue <jiufei.xue@linux.alibaba.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 405a5d2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment