diff options
author | 2023-05-17 12:23:41 -0600 | |
---|---|---|
committer | 2023-05-17 13:14:11 -0600 | |
commit | a2741c58ac677e5de35bba7dec6376579dd513cd (patch) | |
tree | 99316f456b6a8b9300ecaaf7d0091c104e0683ab /scripts/generate_rust_analyzer.py | |
parent | io_uring/net: push IORING_CQE_F_SOCK_NONEMPTY into io_recv_finish() (diff) | |
download | wireguard-linux-a2741c58ac677e5de35bba7dec6376579dd513cd.tar.xz wireguard-linux-a2741c58ac677e5de35bba7dec6376579dd513cd.zip |
io_uring/net: don't retry recvmsg() unnecessarily
If we're doing multishot receives, then we always end up doing two trips
through sock_recvmsg(). For protocols that sanely set msghdr->msg_inq,
then we don't need to waste time picking a new buffer and attempting a
new receive if there's nothing there.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions