]> Git Repo - linux.git/commit - net/sched/sch_atm.c
net_sched: update bstats in dequeue()
authorEric Dumazet <[email protected]>
Thu, 10 May 2012 05:36:34 +0000 (05:36 +0000)
committerDavid S. Miller <[email protected]>
Fri, 11 May 2012 03:33:01 +0000 (23:33 -0400)
commit2dd875ff31ac7ff42d6fc7d7f78ac6c0635439f5
treec75209ccd8374f9695d4ec854d5b4bfb80c5e0dc
parenta6700db17980972199e61c06be535a79e1b0b4e6
net_sched: update bstats in dequeue()

Class bytes/packets stats can be misleading because they are updated in
enqueue() while packet might be dropped later.

We already fixed all qdiscs but sch_atm.

This patch makes the final cleanup.

class rate estimators can now match qdisc ones.

Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/sch_atm.c
net/sched/sch_drr.c
net/sched/sch_hfsc.c
net/sched/sch_htb.c
This page took 0.050403 seconds and 4 git commands to generate.