diff options
Diffstat (limited to 'net/sched/sch_cbq.c')
-rw-r--r-- | net/sched/sch_cbq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_cbq.c b/net/sched/sch_cbq.c index 908b10d0d61f..ba82dfab6043 100644 --- a/net/sched/sch_cbq.c +++ b/net/sched/sch_cbq.c | |||
@@ -1687,7 +1687,7 @@ static int cbq_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, | |||
1687 | sch_tree_lock(sch); | 1687 | sch_tree_lock(sch); |
1688 | *old = cl->q; | 1688 | *old = cl->q; |
1689 | cl->q = new; | 1689 | cl->q = new; |
1690 | sch->q.qlen -= (*old)->q.qlen; | 1690 | qdisc_tree_decrease_qlen(*old, (*old)->q.qlen); |
1691 | qdisc_reset(*old); | 1691 | qdisc_reset(*old); |
1692 | sch_tree_unlock(sch); | 1692 | sch_tree_unlock(sch); |
1693 | 1693 | ||