dm crypt: don't use drivers that have CRYPTO_ALG_ALLOCATES_MEMORY
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 10 Jul 2020 06:20:42 +0000 (23:20 -0700)
committerMike Snitzer <snitzer@redhat.com>
Tue, 29 Sep 2020 20:33:08 +0000 (16:33 -0400)
commitcd74693870fb748d812867ba49af733d689a3604
tree90cb2f8a2ab5e83a2d80f6a798b2b627737174e3
parentd4a512edcc65704c5df51909caeab0495ba0ced3
dm crypt: don't use drivers that have CRYPTO_ALG_ALLOCATES_MEMORY

Don't use crypto drivers that have the flag CRYPTO_ALG_ALLOCATES_MEMORY
set. These drivers allocate memory and thus they are unsuitable for block
I/O processing.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c