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>
Tue, 26 Mar 2024 17:08:52 +0000 (11:08 -0600)
commit45276790172e2bb92de8e60e4d6d35e11e27af64
treef92f203d66c481e01a533319c0b9c7efc382c8de
parent51579c7281afd37dbb7e7548a858bdd097c712b4
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