diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2022-04-08 11:56:53 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-05-02 05:51:20 +0300 |
commit | b7a861a6c3fb8903d4806a12b9ec7806472faa9a (patch) | |
tree | ea28eb3e0e18a6a4ea457aa248fabe03cb5f013f /tools/perf/scripts/python/stat-cpi.py | |
parent | fd16501614dd590a3478f1a0ac3257d1cd5cf909 (diff) | |
download | linux-b7a861a6c3fb8903d4806a12b9ec7806472faa9a.tar.xz |
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/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions