lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 20 Jan 2020 09:58:23 -0800
From:   Eric Dumazet <>
To:     Wen Yang <>,
        Eric Dumazet <>,
Cc:     Alexey Kuznetsov <>,
        Hideaki YOSHIFUJI <>,,
Subject: Re: [PATCH] tcp_bbr: improve arithmetic division in bbr_update_bw()

On 1/20/20 2:04 AM, Wen Yang wrote:
> do_div() does a 64-by-32 division. Use div64_long() instead of it
> if the divisor is long, to avoid truncation to 32-bit.
> And as a nice side effect also cleans up the function a bit.

Signed-off-by: Eric Dumazet <>

Thanks !

Powered by blists - more mailing lists