aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2025-04-09 19:36:46 -0700
committerJakub Kicinski <kuba@kernel.org>2025-04-11 18:58:11 -0700
commit22d6c9eebf2e68e6ab831ded37daaa83daff6bb8 (patch)
tree75c99a2c546ee4f04961091b7bcae1cb1c48b8d3 /include/net/sock.h
parentnet: Retire DCCP socket. (diff)
downloadwireguard-linux-22d6c9eebf2e68e6ab831ded37daaa83daff6bb8.tar.xz
wireguard-linux-22d6c9eebf2e68e6ab831ded37daaa83daff6bb8.zip
net: Unexport shared functions for DCCP.
DCCP was removed, so many inet functions no longer need to be exported. Let's unexport or use EXPORT_IPV6_MOD() for such functions. sk_free_unlock_clone() is inlined in sk_clone_lock() as it's the only caller. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/20250410023921.11307-4-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 694f954258d4..bb4d6189292f 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -1781,7 +1781,6 @@ void sk_free(struct sock *sk);
void sk_net_refcnt_upgrade(struct sock *sk);
void sk_destruct(struct sock *sk);
struct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority);
-void sk_free_unlock_clone(struct sock *sk);
struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force,
gfp_t priority);