diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2009-02-27 23:44:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-02 06:00:16 -0500 |
commit | cabeccbd172cc305f4383f5a4808ae254745275f (patch) | |
tree | 0504d469ae4fc1a6c1ba368b3cc99ae7f55520cb /include/net | |
parent | 758ce5c8d11d6fc57fe5f1dbc237aa8ff6386eac (diff) |
tcp: kill eff_sacks "cache", the sole user can calculate itself
Also fixes insignificant bug that would cause sending of stale
SACK block (would occur in some corner cases).
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/tcp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 0366a559afec..055e4946d4c8 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -926,7 +926,6 @@ extern void tcp_done(struct sock *sk); | |||
926 | static inline void tcp_sack_reset(struct tcp_options_received *rx_opt) | 926 | static inline void tcp_sack_reset(struct tcp_options_received *rx_opt) |
927 | { | 927 | { |
928 | rx_opt->dsack = 0; | 928 | rx_opt->dsack = 0; |
929 | rx_opt->eff_sacks = 0; | ||
930 | rx_opt->num_sacks = 0; | 929 | rx_opt->num_sacks = 0; |
931 | } | 930 | } |
932 | 931 | ||