aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_htb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index 79e8ed4ac7ce..14a83dc0bfff 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -1512,8 +1512,8 @@ static int htb_change_class(struct Qdisc *sch, u32 classid,
1512 htb_precompute_ratedata(&cl->rate); 1512 htb_precompute_ratedata(&cl->rate);
1513 htb_precompute_ratedata(&cl->ceil); 1513 htb_precompute_ratedata(&cl->ceil);
1514 1514
1515 cl->buffer = hopt->buffer << PSCHED_SHIFT; 1515 cl->buffer = PSCHED_TICKS2NS(hopt->buffer);
1516 cl->cbuffer = hopt->buffer << PSCHED_SHIFT; 1516 cl->cbuffer = PSCHED_TICKS2NS(hopt->buffer);
1517 1517
1518 sch_tree_unlock(sch); 1518 sch_tree_unlock(sch);
1519 1519