]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit499f98d90d8ed78c1f4b57649af299ec52811bd4
tree90cb2f8a2ab5e83a2d80f6a798b2b627737174e3
parent27cfde3b13f82bd28e16439073ea7ef6cc7e4074
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