Skip to content
Commit 54cdcca0 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/net: switch io_send() and io_send_zc() to using io_async_msghdr



No functional changes in this patch, just in preparation for carrying
more state then what is being done now, if necessary. While unifying
some of this code, add a generic send setup prep handler that they can
both use.

This gets rid of some manual msghdr and sockaddr on the stack, and makes
it look a bit more like the sendmsg/recvmsg variants. Going forward, more
can get unified on top.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0ae9b9a1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment