io_uring: separate header for exported net bits
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 9 Apr 2024 21:05:53 +0000 (14:05 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:26 +0000 (08:10 -0600)
commit8c9a6f549e65912825e31dc1e0e3f7995984649d
tree776d37d72d833f664534e2eb79830854c357a7d6
parentd285da7dbd3b3cc9b4cf822039a87ca4e4106ecf
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>
include/linux/io_uring.h
include/linux/io_uring/net.h [new file with mode: 0644]
io_uring/uring_cmd.c
net/socket.c