X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=io_uring%2Fnet.h;h=191009979bcb0874d27df39dad70be81c9c77175;hb=0241f4c2caad6f5ec50dc935eac7bdf7f4ee84d0;hp=5ffa11bf5d2e71ee9b3e185e3b95d9698394f6c5;hpb=68bf66a108583e20b95136ebf8c29ab8e7ec7b44;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/io_uring/net.h b/io_uring/net.h index 5ffa11b..1910099 100644 --- a/io_uring/net.h +++ b/io_uring/net.h @@ -5,8 +5,8 @@ #include "alloc_cache.h" -#if defined(CONFIG_NET) struct io_async_msghdr { +#if defined(CONFIG_NET) union { struct iovec fast_iov[UIO_FASTIOV]; struct { @@ -22,8 +22,11 @@ struct io_async_msghdr { struct sockaddr __user *uaddr; struct msghdr msg; struct sockaddr_storage addr; +#endif }; +#if defined(CONFIG_NET) + struct io_async_connect { struct sockaddr_storage address; };