On Tue, Aug 18, 2020 at 1:17 PM Ryan Stone <ryst...@gmail.com> wrote:
> 4. The table calculation had two integer truncation bugs and used the
> wrong formula.  I'm reasonably sure it would never calculate a
> probability other than 0 due a 64-bit constant being truncated to
> 32-bits.

I've gone back and checked, and I was partially wrong on this point.
I had gotten the idea that integer literals would be truncated to int,
which is not true.  The use of the wrong formula still means that
packets are dropped at entirely the wrong rate, though.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to