Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 522e7548 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by David S. Miller
Browse files

[TCP] FRTO: Incorrectly clears TCPCB_EVER_RETRANS bit



FRTO was slightly too brave... Should only clear
TCPCB_SACKED_RETRANS bit.

Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent de46c337
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1266,7 +1266,7 @@ void tcp_enter_frto(struct sock *sk)
	tp->undo_retrans = 0;

	sk_stream_for_retrans_queue(skb, sk) {
		TCP_SKB_CB(skb)->sacked &= ~TCPCB_RETRANS;
		TCP_SKB_CB(skb)->sacked &= ~TCPCB_SACKED_RETRANS;
	}
	tcp_sync_left_out(tp);