Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

inet: remove three EXPORT_SYMBOL()

inet_rcv_saddr_equal() and inet_csk_listen_stop() are not used
from any modules.

inet_csk_accept() can use EXPORT_IPV6_MOD()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260225134023.1176738-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Eric Dumazet and committed by
Jakub Kicinski
363c5108 5cf47393

+1 -3
+1 -3
net/ipv4/inet_connection_sock.c
··· 107 107 ipv6_only_sock(sk2), match_wildcard, 108 108 match_wildcard); 109 109 } 110 - EXPORT_SYMBOL(inet_rcv_saddr_equal); 111 110 112 111 bool inet_rcv_saddr_any(const struct sock *sk) 113 112 { ··· 723 724 arg->err = error; 724 725 return NULL; 725 726 } 726 - EXPORT_SYMBOL(inet_csk_accept); 727 + EXPORT_IPV6_MOD(inet_csk_accept); 727 728 728 729 /* 729 730 * Using different timers for retransmit, delayed acks and probes ··· 1536 1537 } 1537 1538 WARN_ON_ONCE(sk->sk_ack_backlog); 1538 1539 } 1539 - EXPORT_SYMBOL_GPL(inet_csk_listen_stop); 1540 1540 1541 1541 static struct dst_entry *inet_csk_rebuild_route(struct sock *sk, struct flowi *fl) 1542 1542 {