htb: fix values in opt dump
authorJiri Pirko <jiri@resnulli.us>
Tue, 12 Feb 2013 00:12:00 +0000 (00:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2013 23:51:11 +0000 (18:51 -0500)
commit9c10f4115cc3722635d6e277385ec96003281784
tree18dde0efe65e2fb869290e29c71686a689f69c2a
parent37d51101ec27f1cc3ff089993ded29849adc7037
htb: fix values in opt dump

in htb_change_class() cl->buffer and cl->buffer are stored in ns.
So in dump, convert them back to psched ticks.

Note this was introduced by:
commit 56b765b79e9a78dc7d3f8850ba5e5567205a3ecd
    htb: improved accuracy at high rates

Please consider this for -net/-stable.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c