aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp_input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 20c9440ab85e..b59da5308ac0 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -1669,6 +1669,9 @@ void tcp_enter_frto(struct sock *sk)
1669 } 1669 }
1670 tcp_verify_left_out(tp); 1670 tcp_verify_left_out(tp);
1671 1671
1672 /* Too bad if TCP was application limited */
1673 tp->snd_cwnd = min(tp->snd_cwnd, tcp_packets_in_flight(tp) + 1);
1674
1672 /* Earlier loss recovery underway (see RFC4138; Appendix B). 1675 /* Earlier loss recovery underway (see RFC4138; Appendix B).
1673 * The last condition is necessary at least in tp->frto_counter case. 1676 * The last condition is necessary at least in tp->frto_counter case.
1674 */ 1677 */