net_sched: sch_htb: add per class overlimits counter
authorEric Dumazet <edumazet@google.com>
Mon, 18 Sep 2017 19:36:22 +0000 (12:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 02:12:14 +0000 (19:12 -0700)
commit3c75f6ee139d464351f8ab77a042dd3635769d98
treefbf916b2a2469518f9ad13b1116cde8faed94107
parent7e5dd53f6ee81ffa0d1f42f79e6440b6a751ab40
net_sched: sch_htb: add per class overlimits counter

HTB qdisc overlimits counter is properly increased, but we have no per
class counter, meaning it is difficult to diagnose HTB problems.

This patch adds this counter, visible in "tc -s class show dev eth0",
with current iproute2.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Denys Fedoryshchenko <nuclearcat@nuclearcat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c