diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2019-04-18 16:38:46 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-04-25 10:38:14 +0300 |
commit | a108f9311c01271bccad45d321cf9ddfac852c4b (patch) | |
tree | 61f1684502035612cc7e8e52bf3acb5bdcf2c933 /crypto | |
parent | dcf6285d18ea147b3366de14121825be82a243f2 (diff) | |
download | linux-a108f9311c01271bccad45d321cf9ddfac852c4b.tar.xz |
crypto: ccree - fix backlog notifications
We were doing backlog notification callbacks via a cipher/hash/aead
request structure cast to the base structure, which may or may not
work based on how the structure is laid in memory and is not safe.
Fix it by delegating the backlog notification to the appropriate
internal callbacks which are type aware.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions