This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / net / sched / sch_dsmark.c
index 96203ed..28b61f0 100644 (file)
@@ -241,11 +241,11 @@ static int dsmark_enqueue(struct sk_buff *skb,struct Qdisc *sch)
 #endif
 
            ((ret = p->q->enqueue(skb,p->q)) != 0)) {
-               sch->qstats.drops++;
+               sch->stats.drops++;
                return ret;
        }
-       sch->bstats.bytes += skb->len;
-       sch->bstats.packets++;
+       sch->stats.bytes += skb->len;
+       sch->stats.packets++;
        sch->q.qlen++;
        return ret;
 }
@@ -297,10 +297,9 @@ static int dsmark_requeue(struct sk_buff *skb,struct Qdisc *sch)
        D2PRINTK("dsmark_requeue(skb %p,sch %p,[qdisc %p])\n",skb,sch,p);
         if ((ret = p->q->ops->requeue(skb, p->q)) == 0) {
                sch->q.qlen++;
-               sch->qstats.requeues++;
                return 0;
        }
-       sch->qstats.drops++;
+       sch->stats.drops++;
        return ret;
 }