diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-11-30 12:10:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-30 23:27:22 -0500 |
commit | ea6a5d3b97b768561db6358f15e4c84ced0f4f7e (patch) | |
tree | 9f9e41800756d04c0edbfdeb8d8e35fb2273b6fd /net/core/dev.c | |
parent | 917fbdb32f37e9a93b00bb12ee83532982982df3 (diff) |
sch_red: fix red_calc_qavg_from_idle_time
Since commit a4a710c4a7490587 (pkt_sched: Change PSCHED_SHIFT from 10 to
6) it seems RED/GRED are broken.
red_calc_qavg_from_idle_time() computes a delay in us units, but this
delay is now 16 times bigger than real delay, so the final qavg result
smaller than expected.
Use standard kernel time services since there is no need to obfuscate
them.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions