From: Eric Dumazet Date: Mon, 7 Oct 2013 15:32:32 +0000 (-0700) Subject: net_sched: increment drop counters in qdisc_tree_decrease_qlen() X-Git-Tag: v3.13-rc1~105^2~216 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c8c8e6f9d534a77f97df4d7148561cb902c0f83;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed