Paolo Abeni e5f0e8f8e4 net: sched: introduce and use qdisc tree flush/purge helpers
The same code to flush qdisc tree and purge the qdisc queue
is duplicated in many places and in most cases it does not
respect NOLOCK qdisc: the global backlog len is used and the
per CPU values are ignored.

This change addresses the above, factoring-out the relevant
code and using the helpers introduced by the previous patch
to fetch the correct backlog len.

Fixes: c5ad119fb6c0 ("net: sched: pfifo_fast use skb_array")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-01 14:50:13 -07:00
..
2019-03-06 13:33:11 -08:00
2019-02-15 13:21:55 +08:00
2019-03-29 15:23:16 -07:00
2019-03-01 09:45:52 -05:00
2019-02-27 09:19:24 -05:00
2019-03-10 12:29:52 -07:00
2019-03-15 14:05:00 -07:00
2019-03-16 12:28:18 -07:00
2019-03-09 14:45:54 -08:00