]> git.baikalelectronics.ru Git - kernel.git/commit
[PKT_SCHED] HTB: initialize upper bound properly
authorStephen Hemminger <shemminger@osdl.org>
Fri, 14 Jul 2006 23:32:27 +0000 (16:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2006 23:32:27 +0000 (16:32 -0700)
commit210962c92f6abb33d636e920bcab159fb7017334
treebb69d8abc9d2e554e5e0907077c6db35710d9d0f
parent0aefe63cb3b0dff6e4e33abf656a52897d8bc982
[PKT_SCHED] HTB: initialize upper bound properly

The upper bound for HTB time diff needs to be scaled to PSCHED
units rather than just assuming usecs.  The field mbuffer is used
in TDIFF_SAFE(), as an upper bound.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c