net: sched: htb: fix the calculation of quantum
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 10 Dec 2013 06:59:28 +0000 (14:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 20:08:41 +0000 (15:08 -0500)
commit1598f7cb4745c40467decc91ee44ec615773eb45
treec72364be30308c76df86392f7b6ddfb64877e953
parentcc106e441a63bec3b1cb72948df82ea15945c449
net: sched: htb: fix the calculation of quantum

Now, 32bit rates may be not the true rate.
So use rate_bytes_ps which is from
max(rate32, rate64) to calcualte quantum.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c