[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)
commitb3a6251915df9e3d80d4a0d32bd8d24223906688
treebb69d8abc9d2e554e5e0907077c6db35710d9d0f
parent53602f92dd3691616478a40738353694bcfef171
[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