commit | e697deed834de15d2322d0619d51893022c90ea2 | [log] [tgz] |
---|---|---|
author | Jiufei Xue <jiufei.xue@linux.alibaba.com> | Wed Jun 10 13:41:59 2020 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jun 10 18:06:16 2020 -0600 |
tree | 686a3c4003efa9d74e3f7658c5b3b3bebf854dbd | |
parent | 405a5d2b2762f2a9813efdee93274d4e7bf607a1 [diff] |
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: Jiufei Xue <jiufei.xue@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>