]> 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)
commit1b11f6670ef4dc60597374e7e6e5c6d685cfda05
tree6fb58cd857a7836ac72f9b7c7fa4258aedd1235b
parentdfbb8b1feeb5ce880eff2b9c2f0af2a691882f9b
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