diff options
author | 2022-06-30 02:12:22 -0700 | |
---|---|---|
committer | 2022-07-24 18:39:16 -0600 | |
commit | 5702196e7d9d1232c41769e197eb33ba78a9b463 (patch) | |
tree | a408c2f25cb698e9f7804e20ed7893b4ac123fa6 /drivers/pci/controller/pci-hyperv.c | |
parent | io_uring: restore bgid in io_put_kbuf (diff) | |
download | wireguard-linux-5702196e7d9d1232c41769e197eb33ba78a9b463.tar.xz wireguard-linux-5702196e7d9d1232c41769e197eb33ba78a9b463.zip |
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>
Diffstat (limited to 'drivers/pci/controller/pci-hyperv.c')
0 files changed, 0 insertions, 0 deletions