aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorNeal Cardwell <[email protected]>2025-06-15 00:14:35 +0000
committerJakub Kicinski <[email protected]>2025-06-17 23:19:04 +0000
commitdb16319efcc717a31dcb9c8f038acb6e4111c12e (patch)
tree14cc0ade0798fa4be0354a733325bb8e911b010d /net/ipv4/tcp_input.c
parenttcp: remove RFC3517/RFC6675 hint state: lost_skb_hint, lost_cnt_hint (diff)
downloadkernel-db16319efcc717a31dcb9c8f038acb6e4111c12e.tar.gz
kernel-db16319efcc717a31dcb9c8f038acb6e4111c12e.zip
tcp: remove RFC3517/RFC6675 tcp_clear_retrans_hints_partial()
Now that we have removed the RFC3517/RFC6675 hints, tcp_clear_retrans_hints_partial() is empty, and can be removed. Suggested-by: Yuchung Cheng <[email protected]> Signed-off-by: Neal Cardwell <[email protected]> Reviewed-by: Yuchung Cheng <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index e8e130e946f1..05b9571c9c92 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2769,8 +2769,6 @@ void tcp_simple_retransmit(struct sock *sk)
tcp_mark_skb_lost(sk, skb);
}
- tcp_clear_retrans_hints_partial(tp);
-
if (!tp->lost_out)
return;