diff options
| author | nieweiqiang <nieweiqiang@huawei.com> | 2025-10-25 18:12:56 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-10-31 17:50:42 +0800 |
| commit | 1b5645e454615f5bdae432d0d0d4f94ad0d5c09e (patch) | |
| tree | 7a254a03d50e33b8a8630e32827e47c352ade11c /rust/helpers/processor.c | |
| parent | f5a332980a6877c79863fbf5c16ae86555627ba6 (diff) | |
crypto: hisilicon/qm - add concurrency protection for variable err_threshold
The isolate_strategy_store function is not protected
by a lock. If sysfs operations and functions that depend
on the err_threshold variable,such as qm_hw_err_isolate(),
execute concurrently, the outcome will be unpredictable.
Therefore, concurrency protection should be added for
the err_threshold variable.
Signed-off-by: nieweiqiang <nieweiqiang@huawei.com>
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions
