]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: Unexport shared functions for DCCP.
authorKuniyuki Iwashima <kuniyu@amazon.com>
Thu, 10 Apr 2025 02:36:46 +0000 (19:36 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 12 Apr 2025 01:58:11 +0000 (18:58 -0700)
commit22d6c9eebf2e68e6ab831ded37daaa83daff6bb8
tree75c99a2c546ee4f04961091b7bcae1cb1c48b8d3
parent2a63dd0edf388802074f1d4d6b588a3b4c380688
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>
include/net/sock.h
net/core/sock.c
net/ipv4/inet_connection_sock.c
net/ipv4/inet_hashtables.c
net/ipv4/inet_timewait_sock.c
net/ipv6/af_inet6.c
net/ipv6/inet6_connection_sock.c