summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAntoine Tenart <atenart@kernel.org>2020-12-23 22:23:21 +0100
committerJakub Kicinski <kuba@kernel.org>2020-12-28 13:26:46 -0800
commitfb25038586d0064123e393cadf1fadd70a9df97a (patch)
treed32e2306ac85f805e2a46765925a2e843a0efccb /tools/perf/scripts/python/exported-sql-viewer.py
parent1ad58225dba3f2f598d2c6daed4323f24547168f (diff)
net-sysfs: take the rtnl lock when accessing xps_cpus_map and num_tc
Accesses to dev->xps_cpus_map (when using dev->num_tc) should be protected by the rtnl lock, like we do for netif_set_xps_queue. I didn't see an actual bug being triggered, but let's be safe here and take the rtnl lock while accessing the map in sysfs. Fixes: 184c449f91fe ("net: Add support for XPS with QoS via traffic classes") Signed-off-by: Antoine Tenart <atenart@kernel.org> Reviewed-by: Alexander Duyck <alexanderduyck@fb.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions