]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sched/act_pedit.c
PCI: fix ARI code to be compatible with mixed ARI/non-ARI systems
[linux-2.6-omap-h63xx.git] / net / sched / act_pedit.c
index 3cc4cb9e500ec972e0d451d046f0824da470a311..d5f4e3404864eb7ffc70c3b7a79d425658e4ec53 100644 (file)
@@ -182,7 +182,7 @@ static int tcf_pedit(struct sk_buff *skb, struct tc_action *a,
 bad:
        p->tcf_qstats.overlimits++;
 done:
-       p->tcf_bstats.bytes += skb->len;
+       p->tcf_bstats.bytes += qdisc_pkt_len(skb);
        p->tcf_bstats.packets++;
        spin_unlock(&p->tcf_lock);
        return p->tcf_action;