diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2022-04-08 01:56:53 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-05-01 19:51:20 -0700 |
commit | b7a861a6c3fb8903d4806a12b9ec7806472faa9a (patch) | |
tree | ea28eb3e0e18a6a4ea457aa248fabe03cb5f013f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fd16501614dd590a3478f1a0ac3257d1cd5cf909 (diff) |
xtensa: iss: clean up per-device locking in network driver
Per-device locking in the ISS network driver is used to protect poll
timer and stats updates. Stat collection is not protected.
Remove per-device locking everywhere except the stats updates. Replace
ndo_get_stats callback with ndo_get_stats64 and use proper locking there
as well.
As a side effect this fixes possible deadlock between iss_net_close
and iss_net_timer.
Reported by: Duoming Zhou <duoming@zju.edu.cn>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions