diff options
author | Yufeng Mo <[email protected]> | 2021-12-10 21:09:34 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-12-12 16:20:50 +0000 |
commit | 6dde452bceca3f2ed2b33bc46a16ff5682a03a2e (patch) | |
tree | 16215f2ff55af1577640dc72fbc103b3bc1829b3 /lib/mpi/mpiutil.c | |
parent | 27cbf64a766e86f068ce6214f04c00ceb4db1af4 (diff) |
net: hns3: fix race condition in debugfs
When multiple threads concurrently access the debugfs content, data
and pointer exceptions may occur. Therefore, mutex lock protection is
added for debugfs.
Fixes: 5e69ea7ee2a6 ("net: hns3: refactor the debugfs process")
Signed-off-by: Yufeng Mo <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions