]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4475611a8f57c705a8214b2757138646de890400
tree6fb58cd857a7836ac72f9b7c7fa4258aedd1235b
parent9a644b4aa5e3a484fa440ab9d0dc5bac4d66249f
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