summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMD Danish Anwar <danishanwar@ti.com>2025-03-14 13:27:21 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-20 13:11:14 +0300
commit47a9b5e52abd2b717dfc8b9460589f89936d93cf (patch)
tree43d143c8033e99b81d78556b087636902f15086c /tools/perf/scripts/python/exported-sql-viewer.py
parentf3009d0d6ab78053117f8857b921a8237f4d17b3 (diff)
downloadlinux-47a9b5e52abd2b717dfc8b9460589f89936d93cf.tar.xz
net: ti: icssg-prueth: Add lock to stats
Currently the API emac_update_hardware_stats() reads different ICSSG stats without any lock protection. This API gets called by .ndo_get_stats64() which is only under RCU protection and nothing else. Add lock to this API so that the reading of statistics happens during lock. Fixes: c1e10d5dc7a1 ("net: ti: icssg-prueth: Add ICSSG Stats") Signed-off-by: MD Danish Anwar <danishanwar@ti.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250314102721.1394366-1-danishanwar@ti.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions