io_uring: support 0 length iov in buffer select in compat
authorDylan Yudaken <dylany@fb.com>
Fri, 8 Jul 2022 18:18:36 +0000 (11:18 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:47:08 +0000 (08:47 -0600)
commit8928cb8a1161b0e08619eed98a80891bbb8383ca
tree482b1c6e339894ed5c29bab971b97d5aee671443
parent08c3be1466ae1e53609c27e3191331ac54d6e2d5
io_uring: support 0 length iov in buffer select in compat

Match up work done in "io_uring: allow iov_len = 0 for recvmsg and buffer
select", but for compat code path.

Fixes: a68caad69ce5 ("io_uring: allow iov_len = 0 for recvmsg and buffer select")
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220708181838.1495428-3-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c