From: Eric Dumazet Date: Wed, 30 Nov 2011 12:10:53 +0000 (+0000) Subject: sch_red: fix red_calc_qavg_from_idle_time X-Git-Tag: v3.2-rc5~56^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea6a5d3b97b768561db6358f15e4c84ced0f4f7e;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed