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 'lsk-v3.10-android-14.12'
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
tcp_veno.c
diff --git
a/net/ipv4/tcp_veno.c
b/net/ipv4/tcp_veno.c
index ac43cd747bcebdd83ce98fb26c3f7b1496ea3c69..b4d1858be55031183a7555591f43ed4dbcb4bfbe 100644
(file)
--- a/
net/ipv4/tcp_veno.c
+++ b/
net/ipv4/tcp_veno.c
@@
-144,7
+144,7
@@
static void tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 in_flight)
rtt = veno->minrtt;
- target_cwnd = (
tp->snd_cwnd * veno->basertt)
;
+ target_cwnd = (
u64)tp->snd_cwnd * veno->basertt
;
target_cwnd <<= V_PARAM_SHIFT;
do_div(target_cwnd, rtt);