]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tcp: add a @pace_delay parameter to tcp_reset_xmit_timer()
authorEric Dumazet <edumazet@google.com>
Fri, 7 Feb 2025 15:28:27 +0000 (15:28 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 11 Feb 2025 12:07:59 +0000 (13:07 +0100)
commit7baa030155e8fa2a1bd9ea6425083c3b16787636
tree2ae1d1e78d6b4eff32060ba2125dffe8c5f28763
parent0fed463777b83abe6410a8073de3f997c29afe18
tcp: add a @pace_delay parameter to tcp_reset_xmit_timer()

We want to factorize calls to inet_csk_reset_xmit_timer(),
to ease TCP_RTO_MAX change.

Current users want to add tcp_pacing_delay(sk)
to the timeout.

Remaining calls to inet_csk_reset_xmit_timer()
do not add the pacing delay. Following patch
will convert them, passing false for @pace_delay.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c