Is anybody using ng_pipe?

Ryan Stone rysto32 at gmail.com
Tue Aug 18 17:28:51 UTC 2020


On Tue, Aug 18, 2020 at 1:17 PM Ryan Stone <rysto32 at 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.


More information about the freebsd-net mailing list