projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-linus-4.3-merge-window-part-1' of git://git.kernel.org/pub/scm/linux...
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
tcp_scalable.c
diff --git
a/net/ipv4/tcp_scalable.c
b/net/ipv4/tcp_scalable.c
index 333bcb2415ffca51e06f3042ae3d94b8e21c0725..bf5ea9e9bbc1ed3c07c03f9db69b9848cf83ec8e 100644
(file)
--- a/
net/ipv4/tcp_scalable.c
+++ b/
net/ipv4/tcp_scalable.c
@@
-22,7
+22,7
@@
static void tcp_scalable_cong_avoid(struct sock *sk, u32 ack, u32 acked)
if (!tcp_is_cwnd_limited(sk))
return;
- if (t
p->snd_cwnd <= tp->snd_ssthresh
)
+ if (t
cp_in_slow_start(tp)
)
tcp_slow_start(tp, acked);
else
tcp_cong_avoid_ai(tp, min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT),