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
checkpatch: make --strict the default for drivers/staging files and patches
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
tcp_htcp.c
diff --git
a/net/ipv4/tcp_htcp.c
b/net/ipv4/tcp_htcp.c
index 58469fff6c18fd444c95366caa04ab60965d654a..82f0d9ed60f50f27854fdb62a95281beed9df819 100644
(file)
--- a/
net/ipv4/tcp_htcp.c
+++ b/
net/ipv4/tcp_htcp.c
@@
-236,7
+236,7
@@
static void htcp_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 {
/* In dangerous area, increase slowly.