]> www.infradead.org Git - users/hch/misc.git/commit
tcp: use tcp_reset_xmit_timer()
authorEric Dumazet <edumazet@google.com>
Fri, 7 Feb 2025 15:28:28 +0000 (15:28 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 11 Feb 2025 12:07:59 +0000 (13:07 +0100)
commit48b69b4c7e5d74ad66e5214ae8cbdae0b9ea154c
treeac0cd64274e42abfd058fc0fd507a046b0d043d5
parent7baa030155e8fa2a1bd9ea6425083c3b16787636
tcp: use tcp_reset_xmit_timer()

In order to reduce TCP_RTO_MAX occurrences, replace:

    inet_csk_reset_xmit_timer(sk, what, when, TCP_RTO_MAX)

With:

    tcp_reset_xmit_timer(sk, what, when, false);

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>
net/ipv4/tcp_fastopen.c
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_output.c
net/ipv4/tcp_timer.c