aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2021-10-18 17:34:01 -0700
committerJakub Kicinski <[email protected]>2021-10-19 15:40:50 -0700
commit4c57e2fac41cefa49583b9836677e5b59cbe9f64 (patch)
treef7d660ca2b9736a190cb47983e7b95d3ebb2302c /tools/perf/scripts/python/exported-sql-viewer.py
parent05be94633783ffb3ad5b0aca7f6cff08cad6868d (diff)
net: sched: fix logic error in qdisc_run_begin()
For non TCQ_F_NOLOCK qdisc, qdisc_run_begin() tries to set __QDISC_STATE_RUNNING and should return true if the bit was not set. test_and_set_bit() returns old bit value, therefore we need to invert. Fixes: 29cbcd858283 ("net: sched: Remove Qdisc::running sequence counter") Signed-off-by: Eric Dumazet <[email protected]> Cc: Ahmed S. Darwish <[email protected]> Tested-by: Ido Schimmel <[email protected]> Acked-by: Sebastian Andrzej Siewior <[email protected]> Tested-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions