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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 456983d1fcec..92049e681258 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1067,14 +1067,16 @@ static inline void tcp_mib_init(void)
1067} 1067}
1068 1068
1069/* from STCP */ 1069/* from STCP */
1070static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp) { 1070static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp)
1071{
1071 tp->lost_skb_hint = NULL; 1072 tp->lost_skb_hint = NULL;
1072 tp->scoreboard_skb_hint = NULL; 1073 tp->scoreboard_skb_hint = NULL;
1073 tp->retransmit_skb_hint = NULL; 1074 tp->retransmit_skb_hint = NULL;
1074 tp->forward_skb_hint = NULL; 1075 tp->forward_skb_hint = NULL;
1075} 1076}
1076 1077
1077static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp) { 1078static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp)
1079{
1078 tcp_clear_retrans_hints_partial(tp); 1080 tcp_clear_retrans_hints_partial(tp);
1079 tp->fastpath_skb_hint = NULL; 1081 tp->fastpath_skb_hint = NULL;
1080} 1082}