Skip to content
Commit 7dcc758c authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/net: add IORING_ACCEPT_DONTWAIT flag



This allows the caller to perform a non-blocking attempt, similarly to
how recvmsg has MSG_DONTWAIT. If set, and we get -EAGAIN on a connection
attempt, propagate the result to userspace rather than arm poll and
wait for a retry.

Suggested-by: default avatarNorman Maurer <norman_maurer@apple.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 340f634a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment