Commit 324f5aa5 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

htb: use PSCHED_TICKS2NS()

Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
Acked-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9f6d98c2
...@@ -1512,8 +1512,8 @@ static int htb_change_class(struct Qdisc *sch, u32 classid, ...@@ -1512,8 +1512,8 @@ static int htb_change_class(struct Qdisc *sch, u32 classid,
htb_precompute_ratedata(&cl->rate); htb_precompute_ratedata(&cl->rate);
htb_precompute_ratedata(&cl->ceil); htb_precompute_ratedata(&cl->ceil);
cl->buffer = hopt->buffer << PSCHED_SHIFT; cl->buffer = PSCHED_TICKS2NS(hopt->buffer);
cl->cbuffer = hopt->buffer << PSCHED_SHIFT; cl->cbuffer = PSCHED_TICKS2NS(hopt->buffer);
sch_tree_unlock(sch); sch_tree_unlock(sch);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment