diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-26 12:24:10 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-27 18:09:41 +0800 |
commit | 4e20b8b652109e33775ab78b19c676949e26bfa5 (patch) | |
tree | b726a7467ab552e558cbf9e9ffb96d6245af1221 /crypto/fcrypt.c | |
parent | 0d1b47870e74929224a200d9044f07eb4daa9994 (diff) | |
download | linux-crypto-4e20b8b652109e33775ab78b19c676949e26bfa5.tar.gz linux-crypto-4e20b8b652109e33775ab78b19c676949e26bfa5.zip |
crypto: xts - Propagate NEED_FALLBACK bit
When we're used as a fallback algorithm, we should propagate
the NEED_FALLBACK bit when searching for the underlying ECB mode.
This just happens to fix a hang too because otherwise the search
may end up loading the same module that triggered this XTS creation.
Cc: stable@vger.kernel.org #4.10
Fixes: 6c1314f521f2 ("crypto: xts - Convert to skcipher")
Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/fcrypt.c')
0 files changed, 0 insertions, 0 deletions