diff options
| author | Jens Axboe <[email protected]> | 2024-05-07 20:06:15 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-05-09 18:22:03 +0000 |
| commit | 7dcc758cca432510f77b2fe1077be2314bc3785b (patch) | |
| tree | bf8af33ed114eef8e8f75b1803d8ea0432bad5d5 /net/unix/af_unix.c | |
| parent | io_uring/filetable: don't unnecessarily clear/reset bitmap (diff) | |
| download | kernel-7dcc758cca432510f77b2fe1077be2314bc3785b.tar.gz kernel-7dcc758cca432510f77b2fe1077be2314bc3785b.zip | |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
