aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-02-22 01:54:52 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:23:00 -0400
commit522e7548a9bd40305df41c0beae69448b7620d6b (patch)
treea0972cff4f84295dd2004f868867e298bb3c3912 /net/ipv4
parentde46c33745f5e2ad594c72f2cf5f490861b16ce1 (diff)
[TCP] FRTO: Incorrectly clears TCPCB_EVER_RETRANS bit
FRTO was slightly too brave... Should only clear TCPCB_SACKED_RETRANS bit. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 1a14191687ac..b21e232d5d33 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -1266,7 +1266,7 @@ void tcp_enter_frto(struct sock *sk)
1266 tp->undo_retrans = 0; 1266 tp->undo_retrans = 0;
1267 1267
1268 sk_stream_for_retrans_queue(skb, sk) { 1268 sk_stream_for_retrans_queue(skb, sk) {
1269 TCP_SKB_CB(skb)->sacked &= ~TCPCB_RETRANS; 1269 TCP_SKB_CB(skb)->sacked &= ~TCPCB_SACKED_RETRANS;
1270 } 1270 }
1271 tcp_sync_left_out(tp); 1271 tcp_sync_left_out(tp);
1272 1272