diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2025-03-07 16:00:35 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-03-07 13:41:08 -0700 |
commit | be7052a4b5a85367656352c614cd4449779ff36f (patch) | |
tree | a241c5df8dc03740ffdcaf4bb1a992b9bebff1d2 /io_uring/net.h | |
parent | 9fcb349f5ad1355332b7ca711251bc01639bd852 (diff) |
io_uring/net: convert to struct iou_vec
Convert net.c to use struct iou_vec.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/6437b57dabed44eca708c02e390529c7ed211c78.1741362889.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/net.h')
-rw-r--r-- | io_uring/net.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_uring/net.h b/io_uring/net.h index b804c2b36e60..43e5ce5416b7 100644 --- a/io_uring/net.h +++ b/io_uring/net.h @@ -2,12 +2,12 @@ #include <linux/net.h> #include <linux/uio.h> +#include <linux/io_uring_types.h> struct io_async_msghdr { #if defined(CONFIG_NET) - struct iovec *free_iov; - /* points to an allocated iov, if NULL we use fast_iov instead */ - int free_iov_nr; + struct iou_vec vec; + struct_group(clear, int namelen; struct iovec fast_iov; |