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:Norman Maurer <norman_maurer@apple.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Loading
Please sign in to comment