aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_cbq.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_cbq.c')
-rw-r--r--net/sched/sch_cbq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sched/sch_cbq.c b/net/sched/sch_cbq.c
index a3953bbe2d7..1afe3eece62 100644
--- a/net/sched/sch_cbq.c
+++ b/net/sched/sch_cbq.c
@@ -387,7 +387,8 @@ cbq_enqueue(struct sk_buff *skb, struct Qdisc *sch)
387#ifdef CONFIG_NET_CLS_ACT 387#ifdef CONFIG_NET_CLS_ACT
388 cl->q->__parent = sch; 388 cl->q->__parent = sch;
389#endif 389#endif
390 if ((ret = cl->q->enqueue(skb, cl->q)) == NET_XMIT_SUCCESS) { 390 ret = qdisc_enqueue(skb, cl->q);
391 if (ret == NET_XMIT_SUCCESS) {
391 sch->q.qlen++; 392 sch->q.qlen++;
392 sch->bstats.packets++; 393 sch->bstats.packets++;
393 sch->bstats.bytes+=len; 394 sch->bstats.bytes+=len;
@@ -671,7 +672,7 @@ static int cbq_reshape_fail(struct sk_buff *skb, struct Qdisc *child)
671 q->rx_class = cl; 672 q->rx_class = cl;
672 cl->q->__parent = sch; 673 cl->q->__parent = sch;
673 674
674 if (cl->q->enqueue(skb, cl->q) == 0) { 675 if (qdisc_enqueue(skb, cl->q) == 0) {
675 sch->q.qlen++; 676 sch->q.qlen++;
676 sch->bstats.packets++; 677 sch->bstats.packets++;
677 sch->bstats.bytes+=len; 678 sch->bstats.bytes+=len;