L4STeam / linux

Kernel tree containing patches for TCP Prague and the dualpi2 qdisc
Other
47 stars 16 forks source link

Faulty alpha calculation #1

Closed chromi closed 5 years ago

chromi commented 5 years ago

Presently you calculate avg_psize = d_packets / acked_bytes. This will always be zero unless a very large stretched ack is involved, and appears to calculate the reciprocal of the value actually needed.

oliviertilmans commented 5 years ago

What an embarassing mistake. I shouldn't be allowed to touch code without proper sleep.

Thanks!