]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'net-sched-fix-stats-accounting-for-child-NOLOCK-qdiscs'
authorDavid S. Miller <davem@davemloft.net>
Mon, 1 Apr 2019 21:50:14 +0000 (14:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Apr 2019 21:50:14 +0000 (14:50 -0700)
Paolo Abeni says:

====================
net: sched: fix stats accounting for child NOLOCK qdiscs

Currently, stats accounting for NOLOCK qdisc enslaved to classful (lock)
qdiscs is buggy. Per CPU values are ignored in most places, as a result,
stats dump in the above scenario always report 0 length backlog and parent
backlog len is not updated correctly on NOLOCK qdisc removal.

The first patch address stats dumping, and the second one child qdisc removal.
I'm targeting the net tree as this is a bugfix, but it could be moved to
net-next due to the relatively large diffstat.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge