diff options
| author | Jonathan Cameron <[email protected]> | 2017-12-19 10:27:24 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2017-12-22 08:02:40 +0000 |
| commit | af955bf15d2c27496b0269b1f05c26f758c68314 (patch) | |
| tree | 93a46f7d3a6038882d956007e9b8a927df37b36c /tools/perf/scripts/python | |
| parent | crypto: chacha20poly1305 - validate the digest size (diff) | |
| download | kernel-af955bf15d2c27496b0269b1f05c26f758c68314.tar.gz kernel-af955bf15d2c27496b0269b1f05c26f758c68314.zip | |
crypto: af_alg - Fix race around ctx->rcvused by making it atomic_t
This variable was increased and decreased without any protection.
Result was an occasional misscount and negative wrap around resulting
in false resource allocation failures.
Fixes: 7d2c3f54e6f6 ("crypto: af_alg - remove locking in async callback")
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Stephan Mueller <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
