projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[TCP]: fix congestion window update when using TSO deferal
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
ipv4
/
tcp_htcp.c
diff --git
a/net/ipv4/tcp_htcp.c
b/net/ipv4/tcp_htcp.c
index e47b37984e951e087cc2185b97336a5e3dadc21f..404a326ba3457ced90ef06b983c13625a1d93a66 100644
(file)
--- a/
net/ipv4/tcp_htcp.c
+++ b/
net/ipv4/tcp_htcp.c
@@
-207,7
+207,7
@@
static void htcp_cong_avoid(struct sock *sk, u32 ack, u32 rtt,
struct tcp_sock *tp = tcp_sk(sk);
struct htcp *ca = inet_csk_ca(sk);
- if (
in_flight < tp->snd_cwnd
)
+ if (
!tcp_is_cwnd_limited(sk, in_flight)
)
return;
if (tp->snd_cwnd <= tp->snd_ssthresh) {