tcp: remove RFC3517/RFC6675 hint state: lost_skb_hint, lost_cnt_hint
authorNeal Cardwell <ncardwell@google.com>
Sun, 15 Jun 2025 00:14:34 +0000 (20:14 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Jun 2025 23:19:04 +0000 (16:19 -0700)
commitba4618885b23372c45bb1566ed8e3f1c191ff22d
treed5564a6556f87ff65c4079eade3badc286ea4548
parent1c120191dcec510cc17d587ece48a7ae875a90c5
tcp: remove RFC3517/RFC6675 hint state: lost_skb_hint, lost_cnt_hint

Now that obsolete RFC3517/RFC6675 TCP loss detection has been removed,
we can remove the somewhat complex and intrusive code to maintain its
hint state: lost_skb_hint and lost_cnt_hint.

This commit makes tcp_clear_retrans_hints_partial() empty. We will
remove tcp_clear_retrans_hints_partial() and its call sites in the
next commit.

Suggested-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Yuchung Cheng <ycheng@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250615001435.2390793-3-ncardwell.sw@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/net_cachelines/tcp_sock.rst
include/linux/tcp.h
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c