]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv4/tcp_veno.c
Merge tag 'sound-fix-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[karo-tx-linux.git] / net / ipv4 / tcp_veno.c
index 27b9825753d15d89717d7b76e1c38fae4758cfbc..8276977d2c854729d9c7a0e3e501b2dee9db4c3d 100644 (file)
@@ -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);