diff options
| author | Damian Muszynski <[email protected]> | 2023-11-28 18:39:30 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-12-08 11:59:44 +0800 |
| commit | 487caa8d5ef9a9a27b092c5790d529a7a0c24f8b (patch) | |
| tree | ad19843e2b05ce5b9bed91734c799dacb3351dd8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6627f03c21cb7001ae4dbbfb7a8514516d02331c (diff) | |
crypto: qat - fix mutex ordering in adf_rl
If the function validate_user_input() returns an error, the error path
attempts to unlock an unacquired mutex.
Acquire the mutex before calling validate_user_input(). This is not
strictly necessary but simplifies the code.
Fixes: d9fb8408376e ("crypto: qat - add rate limiting feature to qat_4xxx")
Signed-off-by: Damian Muszynski <[email protected]>
Reviewed-by: Giovanni Cabiddu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions