tcp: rename inet_csk_{delete|reset}_keepalive_timer()
authorEric Dumazet <edumazet@google.com>
Thu, 6 Feb 2025 09:46:05 +0000 (09:46 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 7 Feb 2025 19:53:27 +0000 (11:53 -0800)
commitbe258f654a6ef5ab0d777f40fd3bcee540934307
tree2bf13a1c7ef48f6297fdaec7e5b1a69235b76ced
parentd876ec8d3ed3e2f9d29ed866248a294d71e40d86
tcp: rename inet_csk_{delete|reset}_keepalive_timer()

inet_csk_delete_keepalive_timer() and inet_csk_reset_keepalive_timer()
are only used from core TCP, there is no need to export them.

Replace their prefix by tcp.

Move them to net/ipv4/tcp_timer.c and make tcp_delete_keepalive_timer()
static.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250206094605.2694118-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/inet_connection_sock.h
include/net/tcp.h
net/ipv4/inet_connection_sock.c
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_minisocks.c
net/ipv4/tcp_timer.c