|
@@ -1067,14 +1067,16 @@ static inline void tcp_mib_init(void)
|
|
|
}
|
|
|
|
|
|
/* from STCP */
|
|
|
-static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp) {
|
|
|
+static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp)
|
|
|
+{
|
|
|
tp->lost_skb_hint = NULL;
|
|
|
tp->scoreboard_skb_hint = NULL;
|
|
|
tp->retransmit_skb_hint = NULL;
|
|
|
tp->forward_skb_hint = NULL;
|
|
|
}
|
|
|
|
|
|
-static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp) {
|
|
|
+static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp)
|
|
|
+{
|
|
|
tcp_clear_retrans_hints_partial(tp);
|
|
|
tp->fastpath_skb_hint = NULL;
|
|
|
}
|