summaryrefslogtreecommitdiff
path: root/include/memory
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2016-02-25 14:55:01 -0800
committerBen Hutchings <ben@decadent.org.uk>2016-08-22 22:38:15 +0100
commita64474e6897969ebfbf002c263e3def29cd686d2 (patch)
tree066134afd51742c622b099ee369b43921f0ba479 /include/memory
parentf2610da0605227b7fc4d6ffd499fa3c7ef16644e (diff)
net_sched: update hierarchical backlog too
commit 2ccccf5fb43ff62b2b96cc58d95fc0b3596516e4 upstream. When the bottom qdisc decides to, for example, drop some packet, it calls qdisc_tree_decrease_qlen() to update the queue length for all its ancestors, we need to update the backlog too to keep the stats on root qdisc accurate. Cc: Jamal Hadi Salim <jhs@mojatatu.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions