diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-04-09 23:05:53 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-15 16:10:26 +0200 |
commit | 8c9a6f549e65912825e31dc1e0e3f7995984649d (patch) | |
tree | 776d37d72d833f664534e2eb79830854c357a7d6 /net/socket.c | |
parent | io_uring/net: set MSG_ZEROCOPY for sendzc in advance (diff) | |
download | linux-8c9a6f549e65912825e31dc1e0e3f7995984649d.tar.xz linux-8c9a6f549e65912825e31dc1e0e3f7995984649d.zip |
io_uring: separate header for exported net bits
We're exporting some io_uring bits to networking, e.g. for implementing
a net callback for io_uring cmds, but we don't want to expose more than
needed. Add a separate header for networking.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: David Wei <dw@davidwei.uk>
Link: https://lore.kernel.org/r/20240409210554.1878789-1-dw@davidwei.uk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index e5f3af49a8b6..01a71ae10c35 100644 --- a/net/socket.c +++ b/net/socket.c @@ -88,7 +88,7 @@ #include <linux/xattr.h> #include <linux/nospec.h> #include <linux/indirect_call_wrapper.h> -#include <linux/io_uring.h> +#include <linux/io_uring/net.h> #include <linux/uaccess.h> #include <asm/unistd.h> |