aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-09-21 00:18:32 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-21 00:18:32 -0400
commit64edc2736e23994e0334b70c5ff08dc33e2ebbd9 (patch)
tree2ce61d4894023389258db20edc30ce7d7863d6be /include
parentd950f264ff7260d8c1e124158d758db13e1ad2d0 (diff)
tcp: Partial hint clearing has again become meaningless
Ie., the difference between partial and all clearing doesn't exists anymore since the SACK optimizations got dropped by an sacktag rewrite. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/tcp.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 8983386356a5..b71676326950 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1035,7 +1035,7 @@ static inline void tcp_mib_init(struct net *net)
1035} 1035}
1036 1036
1037/* from STCP */ 1037/* from STCP */
1038static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp) 1038static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp)
1039{ 1039{
1040 tp->lost_skb_hint = NULL; 1040 tp->lost_skb_hint = NULL;
1041 tp->scoreboard_skb_hint = NULL; 1041 tp->scoreboard_skb_hint = NULL;
@@ -1043,11 +1043,6 @@ static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp)
1043 tp->forward_skb_hint = NULL; 1043 tp->forward_skb_hint = NULL;
1044} 1044}
1045 1045
1046static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp)
1047{
1048 tcp_clear_retrans_hints_partial(tp);
1049}
1050
1051/* MD5 Signature */ 1046/* MD5 Signature */
1052struct crypto_hash; 1047struct crypto_hash;
1053 1048