io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Apr 2022 01:21:36 +0000 (19:21 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:22:43 +0000 (07:22 +0100)
commit3c1a3d02690fc22890aa038bbdb76aacdf561bd5
treec69d6351214b2c005bbd35610432c307abba1b8c
parent390b8816317fb0a298cfc323b634288a536f009e
io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)

commit 4c3c09439c08b03d9503df0ca4c7619c5842892e upstream.

Like commit 7ba89d2af17a for recv/recvmsg, support MSG_WAITALL for the
send side. If this flag is set and we do a short send, retry for a
stream of seqpacket socket.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
io_uring/io_uring.c