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 'platform-drivers-x86-v4.3-1' of git://git.infradead.org/users/dvhart/linux...
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
tcp_cdg.c
diff --git
a/net/ipv4/tcp_cdg.c
b/net/ipv4/tcp_cdg.c
index 8c6fd3d5e40feeb3c0b422d0e697e1a674b4f576..167b6a3e1b9868c88e5553b114556ae312dfb99f 100644
(file)
--- a/
net/ipv4/tcp_cdg.c
+++ b/
net/ipv4/tcp_cdg.c
@@
-264,7
+264,7
@@
static void tcp_cdg_cong_avoid(struct sock *sk, u32 ack, u32 acked)
u32 prior_snd_cwnd;
u32 incr;
- if (t
p->snd_cwnd < tp->snd_ssthresh
&& hystart_detect)
+ if (t
cp_in_slow_start(tp)
&& hystart_detect)
tcp_cdg_hystart_update(sk);
if (after(ack, ca->rtt_seq) && ca->rtt.v64) {