aboutsummaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorGravatar Pavel Begunkov <asml.silence@gmail.com> 2024-04-09 14:05:53 -0700
committerGravatar Jens Axboe <axboe@kernel.dk> 2024-04-15 08:10:26 -0600
commit8c9a6f549e65912825e31dc1e0e3f7995984649d (patch)
tree776d37d72d833f664534e2eb79830854c357a7d6 /net/socket.c
parentio_uring/net: set MSG_ZEROCOPY for sendzc in advance (diff)
downloadlinux-8c9a6f549e65912825e31dc1e0e3f7995984649d.tar.gz
linux-8c9a6f549e65912825e31dc1e0e3f7995984649d.tar.bz2
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.c2
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>