summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_prio.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-10-07 08:32:32 -0700
committerDavid S. Miller <davem@davemloft.net>2013-10-08 16:27:33 -0400
commit2c8c8e6f9d534a77f97df4d7148561cb902c0f83 (patch)
tree4b48a1db1f650dde62573063ae2ab83f1855e3d5 /net/sched/sch_prio.c
parent4996b9098d5522f9d3233af6a7efd1fac5d43f00 (diff)
downloadlinux-2c8c8e6f9d534a77f97df4d7148561cb902c0f83.tar.gz
linux-2c8c8e6f9d534a77f97df4d7148561cb902c0f83.tar.bz2
linux-2c8c8e6f9d534a77f97df4d7148561cb902c0f83.zip
net_sched: increment drop counters in qdisc_tree_decrease_qlen()
qdisc_tree_decrease_qlen() is called when some packets are dropped on a qdisc, and we want to notify parents of qlen changes. We also can increment parents qdisc qstats drop counters. This permits more accurate drop counters up to root qdisc. For example a graft operation typically resets a qdisc (drops all packets) and call qdisc_tree_decrease_qlen() Note that callers are responsible for their drop counters. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_prio.c')
0 files changed, 0 insertions, 0 deletions