diff options
author | Ignat Korchagin <ignat@cloudflare.com> | 2021-01-19 20:40:15 +0000 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-01-21 15:06:44 -0500 |
commit | 004b8ae9e2de55ca7857ba8471209dd3179e088c (patch) | |
tree | ba29275496253714fbae170f9105734c129e10dc /drivers/perf | |
parent | 5c02406428d5219c367c5f53457698c58bc5f917 (diff) |
dm crypt: fix copy and paste bug in crypt_alloc_req_aead
In commit d68b29584c25 ("dm crypt: use GFP_ATOMIC when allocating
crypto requests from softirq") code was incorrectly copy and pasted
from crypt_alloc_req_skcipher()'s crypto request allocation code to
crypt_alloc_req_aead(). It is OK from runtime perspective as both
simple encryption request pointer and AEAD request pointer are part of
a union, but may confuse code reviewers.
Fixes: d68b29584c25 ("dm crypt: use GFP_ATOMIC when allocating crypto requests from softirq")
Cc: stable@vger.kernel.org # v5.9+
Reported-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Ignat Korchagin <ignat@cloudflare.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions