aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 220f54cf42ec..ea815723d414 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1037,10 +1037,15 @@ static inline void tcp_mib_init(struct net *net)
1037} 1037}
1038 1038
1039/* from STCP */ 1039/* from STCP */
1040static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp) 1040static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp)
1041{ 1041{
1042 tp->lost_skb_hint = NULL; 1042 tp->lost_skb_hint = NULL;
1043 tp->scoreboard_skb_hint = NULL; 1043 tp->scoreboard_skb_hint = NULL;
1044}
1045
1046static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp)
1047{
1048 tcp_clear_retrans_hints_partial(tp);
1044 tp->retransmit_skb_hint = NULL; 1049 tp->retransmit_skb_hint = NULL;
1045} 1050}
1046 1051