mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-15 22:41:38 +00:00
tcp: use EXPORT_IPV6_MOD[_GPL]()
Use EXPORT_IPV6_MOD[_GPL]() for symbols that don't need to be exported unless CONFIG_IPV6=m tcp_hashinfo and tcp_openreq_init_rwin() are no longer used from any module anyway. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com> Link: https://patch.msgid.link/20250212132418.1524422-4-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
95a3c96c74
commit
6dc4c2526f
@@ -750,7 +750,7 @@ void tcp_syn_ack_timeout(const struct request_sock *req)
|
||||
|
||||
__NET_INC_STATS(net, LINUX_MIB_TCPTIMEOUTS);
|
||||
}
|
||||
EXPORT_SYMBOL(tcp_syn_ack_timeout);
|
||||
EXPORT_IPV6_MOD(tcp_syn_ack_timeout);
|
||||
|
||||
void tcp_reset_keepalive_timer(struct sock *sk, unsigned long len)
|
||||
{
|
||||
@@ -772,7 +772,7 @@ void tcp_set_keepalive(struct sock *sk, int val)
|
||||
else if (!val)
|
||||
tcp_delete_keepalive_timer(sk);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(tcp_set_keepalive);
|
||||
EXPORT_IPV6_MOD_GPL(tcp_set_keepalive);
|
||||
|
||||
static void tcp_keepalive_timer(struct timer_list *t)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user