OSDN Git Service

io_uring: disable multishot recvmsg
authorDylan Yudaken <dylany@fb.com>
Mon, 4 Jul 2022 14:01:06 +0000 (07:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:17 +0000 (18:39 -0600)
commitcf0dd9527eee5d6d183fa724fdee6a128cb17b8d
tree5284eb1890493324f44d6d63b3b787b9715b319c
parente0486f3f7c1b6ab7ba7e912bf48d17f04e71d86d
io_uring: disable multishot recvmsg

recvmsg has semantics that do not make it trivial to extend to
multishot. Specifically it has user pointers and returns data in the
original parameter. In order to make this API useful these will need to be
somehow included with the provided buffers.

For now remove multishot for recvmsg as it is not useful.

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220704140106.200167-1-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c