inet: remove three EXPORT_SYMBOL()
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- net/ipv4/inet_connection_sock.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
net/ipv4/inet_connection_sock.c +1 -3
@@ -107,7 +107,6 @@ bool inet_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2,ipv6_only_sock (sk2), match_wildcard, match_wildcard); } -EXPORT_SYMBOL (inet_rcv_saddr_equal);bool inet_rcv_saddr_any (const struct sock *sk) {
@@ -724,7 +723,7 @@ struct sock *inet_csk_accept(struct sock *sk, struct proto_accept_arg *arg) arg->err = error;return NULL ; } -EXPORT_SYMBOL (inet_csk_accept); +EXPORT_IPV6_MOD (inet_csk_accept);/* * Using different timers for retransmit, delayed acks and probes
@@ -1537,7 +1536,6 @@ void inet_csk_listen_stop(struct sock *sk) }WARN_ON_ONCE (sk->sk_ack_backlog); } -EXPORT_SYMBOL_GPL (inet_csk_listen_stop);static struct dst_entry *inet_csk_rebuild_route (struct sock *sk,struct flowi *fl) {
Signature · 1 line
2.53.0.414.gf7e9f6c205-goog
Quoted 6 lines · Eric Dumazet
inet_rcv_saddr_equal()andinet_csk_listen_stop()are not used from any modules.
inet_csk_accept()can useEXPORT_IPV6_MOD()Signed-off-by Eric Dumazet <[email protected]>
Reviewed-by Simon Horman <[email protected]>
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Wed, 25 Feb 2026 13:40:23 +0000 you wrote:
inet_rcv_saddr_equal()andinet_csk_listen_stop()are not used from any modules.
inet_csk_accept()can useEXPORT_IPV6_MOD()Signed-off-by Eric Dumazet <[email protected]>[...]
Here is the summary with links:
- [net-next] inet: remove three EXPORT_SYMBOL()
https://git.kernel.org/netdev/net-next/c/363c5108e4e2
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html