diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 101054cb13e9..e40857e073b3 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -1687,6 +1687,7 @@ static void tcp_enter_frto_loss(struct sock *sk, int allowed_segments, int flag) | |||
1687 | tp->snd_cwnd_cnt = 0; | 1687 | tp->snd_cwnd_cnt = 0; |
1688 | tp->snd_cwnd_stamp = tcp_time_stamp; | 1688 | tp->snd_cwnd_stamp = tcp_time_stamp; |
1689 | tp->frto_counter = 0; | 1689 | tp->frto_counter = 0; |
1690 | tp->bytes_acked = 0; | ||
1690 | 1691 | ||
1691 | tp->reordering = min_t(unsigned int, tp->reordering, | 1692 | tp->reordering = min_t(unsigned int, tp->reordering, |
1692 | sysctl_tcp_reordering); | 1693 | sysctl_tcp_reordering); |
@@ -2824,6 +2825,7 @@ static void tcp_conservative_spur_to_response(struct tcp_sock *tp) | |||
2824 | { | 2825 | { |
2825 | tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh); | 2826 | tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh); |
2826 | tp->snd_cwnd_cnt = 0; | 2827 | tp->snd_cwnd_cnt = 0; |
2828 | tp->bytes_acked = 0; | ||
2827 | TCP_ECN_queue_cwr(tp); | 2829 | TCP_ECN_queue_cwr(tp); |
2828 | tcp_moderate_cwnd(tp); | 2830 | tcp_moderate_cwnd(tp); |
2829 | } | 2831 | } |