aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHao Chen <[email protected]>2023-09-06 07:20:15 +0000
committerPaolo Abeni <[email protected]>2023-09-07 09:08:03 +0000
commitc295160b1d95e885f1af4586a221cb221d232d10 (patch)
treeb83020b05bed0ca0b4bd428f083904e37fac4ab5 /tools/perf/scripts/python
parentnet: hns3: fix byte order conversion issue in hclge_dbg_fd_tcam_read() (diff)
downloadkernel-c295160b1d95e885f1af4586a221cb221d232d10.tar.gz
kernel-c295160b1d95e885f1af4586a221cb221d232d10.zip
net: hns3: fix debugfs concurrency issue between kfree buffer and read
Now in hns3_dbg_uninit(), there may be concurrency between kfree buffer and read, it may result in memory error. Moving debugfs_remove_recursive() in front of kfree buffer to ensure they don't happen at the same time. Fixes: 5e69ea7ee2a6 ("net: hns3: refactor the debugfs process") Signed-off-by: Hao Chen <[email protected]> Signed-off-by: Jijie Shao <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions