From: Ilpo Järvinen Date: Sun, 21 Sep 2008 04:20:50 +0000 (-0700) Subject: tcp: Kill precaution that's very likely obsolete X-Git-Tag: v2.6.28-rc1~717^2~263 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f09142eddb75005e41b0af3e5214979d8b534b1d;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index d271cc82500..28e93f1e421 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) } tcp_moderate_cwnd(tp); tp->snd_cwnd_stamp = tcp_time_stamp; - - /* There is something screwy going on with the retrans hints after - an undo */ - tcp_clear_all_retrans_hints(tp); } static inline int tcp_may_undo(struct tcp_sock *tp)