diff options
Diffstat (limited to 'net/sched/sch_atm.c')
-rw-r--r-- | net/sched/sch_atm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_atm.c b/net/sched/sch_atm.c index 68ed35e2a763..04faa835be17 100644 --- a/net/sched/sch_atm.c +++ b/net/sched/sch_atm.c | |||
@@ -437,9 +437,9 @@ drop: __maybe_unused | |||
437 | flow->qstats.drops++; | 437 | flow->qstats.drops++; |
438 | return ret; | 438 | return ret; |
439 | } | 439 | } |
440 | sch->bstats.bytes += skb->len; | 440 | sch->bstats.bytes += qdisc_pkt_len(skb); |
441 | sch->bstats.packets++; | 441 | sch->bstats.packets++; |
442 | flow->bstats.bytes += skb->len; | 442 | flow->bstats.bytes += qdisc_pkt_len(skb); |
443 | flow->bstats.packets++; | 443 | flow->bstats.packets++; |
444 | /* | 444 | /* |
445 | * Okay, this may seem weird. We pretend we've dropped the packet if | 445 | * Okay, this may seem weird. We pretend we've dropped the packet if |