summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-12 09:55:45 -0600
committerJakub Kicinski <kuba@kernel.org>2024-03-14 16:48:53 -0700
commite54e09c05c00120cbe817bdb037088035be4bd79 (patch)
tree6b6dd06d31fbb2d7965c2a8b745bcd3c7b9d5712 /include
parente30cef001da259e8df354b813015d0e5acc08740 (diff)
downloadlinux-stable-e54e09c05c00120cbe817bdb037088035be4bd79.tar.gz
linux-stable-e54e09c05c00120cbe817bdb037088035be4bd79.tar.bz2
linux-stable-e54e09c05c00120cbe817bdb037088035be4bd79.zip
net: remove {revc,send}msg_copy_msghdr() from exports
The only user of these was io_uring, and it's not using them anymore. Make them static and remove them from the socket header file. Signed-off-by: Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/1b6089d3-c1cf-464a-abd3-b0f0b6bb2523@kernel.dk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/socket.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h
index cfcb7e2c3813..139c330ccf2c 100644
--- a/include/linux/socket.h
+++ b/include/linux/socket.h
@@ -422,13 +422,6 @@ extern long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg,
struct user_msghdr __user *umsg,
struct sockaddr __user *uaddr,
unsigned int flags);
-extern int sendmsg_copy_msghdr(struct msghdr *msg,
- struct user_msghdr __user *umsg, unsigned flags,
- struct iovec **iov);
-extern int recvmsg_copy_msghdr(struct msghdr *msg,
- struct user_msghdr __user *umsg, unsigned flags,
- struct sockaddr __user **uaddr,
- struct iovec **iov);
extern int __copy_msghdr(struct msghdr *kmsg,
struct user_msghdr *umsg,
struct sockaddr __user **save_addr);