io_uring/net: send retry for zerocopy
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 4 Aug 2022 14:15:30 +0000 (15:15 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 4 Aug 2022 14:35:16 +0000 (08:35 -0600)
commit4a933e62083ead6cd064293a7505c56165859320
tree6fb58cd857a7836ac72f9b7c7fa4258aedd1235b
parentcc18cc5e82033d406f54144ad6f8092206004684
io_uring/net: send retry for zerocopy

io_uring handles short sends/recvs for stream sockets when MSG_WAITALL
is set, however new zerocopy send is inconsistent in this regard, which
might be confusing. Handle short sends.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b876a4838597d9bba4f3215db60d72c33c448ad0.1659622472.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c