]> err.no Git - linux-2.6/blobdiff - net/sched/sch_atm.c
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6] / net / sched / sch_atm.c
index 68ed35e2a763fc82a26c9cff0fe7bcf21976ba35..04faa835be173bf703cd899038f8ba3c0c686130 100644 (file)
@@ -437,9 +437,9 @@ drop: __maybe_unused
                        flow->qstats.drops++;
                return ret;
        }
-       sch->bstats.bytes += skb->len;
+       sch->bstats.bytes += qdisc_pkt_len(skb);
        sch->bstats.packets++;
-       flow->bstats.bytes += skb->len;
+       flow->bstats.bytes += qdisc_pkt_len(skb);
        flow->bstats.packets++;
        /*
         * Okay, this may seem weird. We pretend we've dropped the packet if