io_uring/net: move connect to always using async data
authorJens Axboe <axboe@kernel.dk>
Tue, 19 Mar 2024 02:37:22 +0000 (20:37 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:25 +0000 (08:10 -0600)
commite2ea5a7069133c01fe3dbda95d77af7f193a1a52
treef1e7f1e67139d964b294035636befff980242675
parentd6f911a6b22f8e48aec82cd5f6b5a14dc76a56c3
io_uring/net: move connect to always using async data

While doing that, get rid of io_async_connect and just use the generic
io_async_msghdr. Both of them have a struct sockaddr_storage in there,
and while io_async_msghdr is bigger, if the same type can be used then
the netmsg_cache can get reused for connect as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c
io_uring/net.h
io_uring/opdef.c