Home
last modified time | relevance | path

Searched hist:"5702196 e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/io_uring/
H A Dnet.c5702196e Thu Jun 30 04:12:22 CDT 2022 Dylan Yudaken <dylany@fb.com> io_uring: allow iov_len = 0 for recvmsg and buffer select

When using BUFFER_SELECT there is no technical requirement that the user
actually provides iov, and this removes one copy_from_user call.

So allow iov_len to be 0.

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220630091231.1456789-4-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>