aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/tcp_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index a4efdd7cf5a1..78dd38cd5496 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2881,7 +2881,8 @@ static void tcp_try_to_open(struct sock *sk, int flag)
2881 2881
2882 if (inet_csk(sk)->icsk_ca_state != TCP_CA_CWR) { 2882 if (inet_csk(sk)->icsk_ca_state != TCP_CA_CWR) {
2883 tcp_try_keep_open(sk); 2883 tcp_try_keep_open(sk);
2884 tcp_moderate_cwnd(tp); 2884 if (inet_csk(sk)->icsk_ca_state != TCP_CA_Open)
2885 tcp_moderate_cwnd(tp);
2885 } else { 2886 } else {
2886 tcp_cwnd_down(sk, flag); 2887 tcp_cwnd_down(sk, flag);
2887 } 2888 }