diff options
Diffstat (limited to 'net/ipv4/tcp_cong.c')
-rw-r--r-- | net/ipv4/tcp_cong.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_cong.c b/net/ipv4/tcp_cong.c index be24f070c..949fe9df3 100644 --- a/net/ipv4/tcp_cong.c +++ b/net/ipv4/tcp_cong.c | |||
@@ -409,6 +409,7 @@ u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) | |||
409 | else{ | 409 | else{ |
410 | cwnd_full = min((cwnd + tp->mytcp_stopped_cwnd), tp->snd_ssthresh); | 410 | cwnd_full = min((cwnd + tp->mytcp_stopped_cwnd), tp->snd_ssthresh); |
411 | tp->snd_cwnd = min(cwnd_full, tp->snd_cwnd_clamp); | 411 | tp->snd_cwnd = min(cwnd_full, tp->snd_cwnd_clamp); |
412 | tp->mytcp_stopped_cwnd = 0; | ||
412 | // printk(KERN_DEBUG "full_pipe_flag == 0, the cwnd is %u, the mytcp_stopped_cwnd is %u\n",tp->snd_cwnd, tp->mytcp_stopped_cwnd); | 413 | // printk(KERN_DEBUG "full_pipe_flag == 0, the cwnd is %u, the mytcp_stopped_cwnd is %u\n",tp->snd_cwnd, tp->mytcp_stopped_cwnd); |
413 | tp->mytcp_stopped_cwnd = 0; | 414 | tp->mytcp_stopped_cwnd = 0; |
414 | } | 415 | } |