Skip to content
Commit c8e18129 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov Committed by David S. Miller
Browse files

net_sched: always reset qdisc backlog in qdisc_reset()



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: default avatarKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Fixes: 2ccccf5f ("net_sched: update hierarchical backlog too")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6cc40834
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment