diff options
| author | Vlad Buslov <[email protected]> | 2019-02-11 10:55:35 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-12 13:41:32 -0500 |
| commit | 165f01354c52b6ce175b2c67f771c153f0563f41 (patch) | |
| tree | 2a967e039da5631027c1fbde1834356c5dbd1306 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 2cbfab07c69657a5a60323f86143f4ce8a829fa9 (diff) | |
net: sched: protect block->chain0 with block->lock
In order to remove dependency on rtnl lock, use block->lock to protect
chain0 struct from concurrent modification. Rearrange code in chain0
callback add and del functions to only access chain0 when block->lock is
held.
Signed-off-by: Vlad Buslov <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions