X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fipv4%2Ftcp_veno.c;h=8276977d2c854729d9c7a0e3e501b2dee9db4c3d;hb=ffb29b42271c665cd652dfcaa590895c8a00ac97;hp=27b9825753d15d89717d7b76e1c38fae4758cfbc;hpb=b0ae27c477b19d1da015e6ace0a5707d4173ff8b;p=karo-tx-linux.git diff --git a/net/ipv4/tcp_veno.c b/net/ipv4/tcp_veno.c index 27b9825753d1..8276977d2c85 100644 --- 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 acked) 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);