|
@@ -1135,9 +1135,9 @@ static int htb_dump_class(struct Qdisc *sch, unsigned long arg,
|
|
|
memset(&opt, 0, sizeof(opt));
|
|
|
|
|
|
opt.rate.rate = cl->rate.rate_bps >> 3;
|
|
|
- opt.buffer = cl->buffer;
|
|
|
+ opt.buffer = PSCHED_NS2TICKS(cl->buffer);
|
|
|
opt.ceil.rate = cl->ceil.rate_bps >> 3;
|
|
|
- opt.cbuffer = cl->cbuffer;
|
|
|
+ opt.cbuffer = PSCHED_NS2TICKS(cl->cbuffer);
|
|
|
opt.quantum = cl->quantum;
|
|
|
opt.prio = cl->prio;
|
|
|
opt.level = cl->level;
|