net_sched: htb: fix a typo in htb_change_class()
Subsystems (3)
PATCH 1/1 net_sched: htb: fix a typo in htb_change_class()
From: Vimalkumar <[email protected]>
Fix a typo added in commit 56b765b79 ("htb: improved accuracy at high rates")
cbuffer should not be a copy of buffer.
Signed-off-by Vimalkumar <[email protected]>
Signed-off-by Eric Dumazet <[email protected]>
Cc Jesper Dangaard Brouer <[email protected]>
Cc Jiri Pirko <[email protected]>
--- net/sched/sch_htb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/sched/sch_htb.c +1 -1
@@ -1495,7 +1495,7 @@ static int htb_change_class(struct Qdisc *sch, u32 classid,psched_ratecfg_precompute (&cl->ceil, &hopt->ceil); cl->buffer =PSCHED_TICKS2NS (hopt->buffer); - cl->cbuffer =PSCHED_TICKS2NS (hopt->buffer); + cl->cbuffer =PSCHED_TICKS2NS (hopt->cbuffer);sch_tree_unlock (sch);
Quoted 11 lines · Wed, Sep 11, 2013 at 02:36:37AM CEST, [email protected] wrote:
From: Vimalkumar <[email protected]>
Fix a typo added in commit
56b765b79("htb: improved accuracy at high rates")cbuffer should not be a copy of buffer.
Signed-off-by Vimalkumar <[email protected]>Signed-off-by Eric Dumazet <[email protected]>Cc Jesper Dangaard Brouer <[email protected]>Cc Jiri Pirko <[email protected]>
Reviewed-by Jiri Pirko <[email protected]>
David Miller
maintainerFrom: Jiri Pirko <[email protected]>
Date: Wed, 11 Sep 2013 07:58:27 +0200
Quoted 6 lines
Quoted 5 lines · Wed, Sep 11, 2013 at 02:36:37AM CEST, [email protected] wrote:
From: Vimalkumar <[email protected]>
Fix a typo added in commit
56b765b79("htb: improved accuracy at high rates")
Quoted 7 lines
Quoted 6 lines
cbuffer should not be a copy of buffer.
Signed-off-by Vimalkumar <[email protected]>Signed-off-by Eric Dumazet <[email protected]>Cc Jesper Dangaard Brouer <[email protected]>Cc Jiri Pirko <[email protected]>Reviewed-by Jiri Pirko <[email protected]>
Applied and queued up for -stable, thanks everyone.