Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring/net: restore msg_control on sendzc retry
cac9e44 ("io_uring/net: save msghdr->msg_control for retries") reinstatiates msg_control before every __sys_sendmsg_sock(), since the function can overwrite the value in msghdr. We need to do same for zerocopy sendmsg. Cc: [email protected] Fixes: 493108d ("io_uring/net: zerocopy sendmsg") Link: axboe/liburing#1067 Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/cc1d5d9df0576fa66ddad4420d240a98a020b267.1712596179.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information