From 844eac80f4f0336fc44de0be160f11d741830603 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 20 Sep 2007 11:40:37 -0700 Subject: [PATCH] --- yaml --- r: 66682 b: refs/heads/master c: 0800f170263d19b882e519441156c5f6ed190fc1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/net/tcp.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index b7d9dc2d8d47..913c0333282a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b76892051cf1c04d95872838e70146f65e3b9d75 +refs/heads/master: 0800f170263d19b882e519441156c5f6ed190fc1 diff --git a/trunk/include/net/tcp.h b/trunk/include/net/tcp.h index 456983d1fcec..92049e681258 100644 --- a/trunk/include/net/tcp.h +++ b/trunk/include/net/tcp.h @@ -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; }