]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net_sched: keep backlog updated with qlen
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 3 Jun 2016 22:05:57 +0000 (15:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jun 2016 01:14:29 +0000 (21:14 -0400)
commita27758ffaf96f89002129eedb2cc172d254099f8
treea773e569d26b1c5b364d12cd69a76615d3090af7
parent1957598840f47d42bb0b7f8a871717a780708686
net_sched: keep backlog updated with qlen

For gso_skb we only update qlen, backlog should be updated too.

Note, it is correct to just update these stats at one layer,
because the gso_skb is cached there.

Reported-by: Stas Nichiporovich <stasn77@gmail.com>
Fixes: 2ccccf5fb43f ("net_sched: update hierarchical backlog too")
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
net/sched/sch_generic.c