diff options
| author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-09-21 00:20:50 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-09-21 00:20:50 -0400 |
| commit | f09142eddb75005e41b0af3e5214979d8b534b1d (patch) | |
| tree | b751e478944c1cca8f3ea9f4205e092a21341b9b | |
| parent | 006f582c73f4eda35e06fd323193c3df43fb3459 (diff) | |
tcp: Kill precaution that's very likely obsolete
I suspect it might have been related to the changed amount
of lost skbs, which was counted by retransmit_cnt_hint that
got changed.
The place for this clearing was very illogical anyway,
it should have been after the LOST-bit clearing loop to
make any sense.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | net/ipv4/tcp_input.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index d271cc825005..28e93f1e4217 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
| @@ -2385,10 +2385,6 @@ static void tcp_undo_cwr(struct sock *sk, const int undo) | |||
| 2385 | } | 2385 | } |
| 2386 | tcp_moderate_cwnd(tp); | 2386 | tcp_moderate_cwnd(tp); |
| 2387 | tp->snd_cwnd_stamp = tcp_time_stamp; | 2387 | tp->snd_cwnd_stamp = tcp_time_stamp; |
| 2388 | |||
| 2389 | /* There is something screwy going on with the retrans hints after | ||
| 2390 | an undo */ | ||
| 2391 | tcp_clear_all_retrans_hints(tp); | ||
| 2392 | } | 2388 | } |
| 2393 | 2389 | ||
| 2394 | static inline int tcp_may_undo(struct tcp_sock *tp) | 2390 | static inline int tcp_may_undo(struct tcp_sock *tp) |
