On Wed, Sep 20, 2017 at 5:45 AM, Konstantin Khlebnikov <khlebni...@yandex-team.ru> wrote: > SKB stored in qdisc->gso_skb also counted into backlog. > > Some qdiscs don't reset backlog to zero in ->reset(), > for example sfq just dequeue and free all queued skb. > > Signed-off-by: Konstantin Khlebnikov <khlebni...@yandex-team.ru> > Fixes: 2ccccf5fb43f ("net_sched: update hierarchical backlog too")
Looks good. sch->qstats.backlog = 0 can be removed from each ->reset() after this patch.