aboutsummaryrefslogtreecommitdiff
path: root/kernel/uid16.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-11-30 12:10:53 +0000
committerDavid S. Miller <davem@davemloft.net>2011-11-30 23:27:22 -0500
commitea6a5d3b97b768561db6358f15e4c84ced0f4f7e (patch)
tree9f9e41800756d04c0edbfdeb8d8e35fb2273b6fd /kernel/uid16.c
parent917fbdb32f37e9a93b00bb12ee83532982982df3 (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 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions