]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net_sched: update bstats in dequeue()
authorEric Dumazet <edumazet@google.com>
Thu, 10 May 2012 05:36:34 +0000 (05:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_atm.c
net/sched/sch_drr.c
net/sched/sch_hfsc.c
net/sched/sch_htb.c