]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit282a3d3eb924eb3d72fa6be612305f81b4bffb98
tree394e064316a0965588c3784a36a24fca3a7b352d
parent2883ad38f21bb9d9a1a216f1acc623ad284a13ef
parenta9ee80847d0d24df18a368e73665c1c24e406f79
Merge branch 'net-sched-fix-stats-accounting-for-child-NOLOCK-qdiscs'

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>