crypto: authenc - Add EINPROGRESS check
Herbert Xu authored
commit 180ce7e8

 upstream.

When Steffen originally wrote the authenc async hash patch, he
correctly had EINPROGRESS checks in place so that we did not invoke
the original completion handler with it.

Unfortuantely I told him to remove it before the patch was applied.

As only MAY_BACKLOG request completion handlers are required to
handle EINPROGRESS completions, those checks are really needed.

This patch restores them.
Reported-by: default avatarSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
0ddd1167
Name Last commit Last update
..
async_tx raid6: fix recovery performance regression
Kconfig crypto: vmac - New hash algorithm for intel_txt support
Makefile crypto: vmac - New hash algorithm for intel_txt support
ablkcipher.c crypto: blkcipher - Do not use eseqiv on stream ciphers
aead.c headers: remove sched.h from interrupt.h
aes_generic.c crypto: aes - Undefined behaviour in crypto_aes_expand_key
ahash.c crypto: ahash - Use GFP_KERNEL on allocation if the request can sleep
algapi.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
algboss.c crypto: api - Add new template create function
ansi_cprng.c crypto: ansi_cprng - Fix module initialization
anubis.c [CRYPTO] all: Clean up init()/fini()
api.c crypto: api - Remove frontend argument from extsize/init_tfm
arc4.c [CRYPTO] api: Get rid of flags argument to setkey
authenc.c crypto: authenc - Add EINPROGRESS check
blkcipher.c crypto: skcipher - Avoid infinite loop when cipher fails selftest
blowfish.c [CRYPTO] all: Clean up init()/fini()
camellia.c crypto: camellia - use kernel-provided bitops, unaligned access
cast5.c [CRYPTO] all: Clean up init()/fini()
cast6.c [CRYPTO] all: Clean up init()/fini()
cbc.c Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p)
ccm.c crypto: ccm - Fix handling of null assoc data
chainiv.c crypto: chainiv - Use kcrypto_wq instead of keventd_wq
cipher.c [CRYPTO] api: Add missing headers for setkey_unaligned
compress.c cleanup asm/scatterlist.h includes
crc32c.c libcrc32c: Move implementation to crypto crc32c
cryptd.c
crypto_null.c
crypto_wq.c
ctr.c
cts.c
deflate.c
des_generic.c
digest.c
ecb.c
eseqiv.c
fcrypt.c
fips.c
gcm.c
gf128mul.c
ghash-generic.c
hash.c
hmac.c
internal.h
khazad.c
krng.c
lrw.c
lzo.c
md4.c
md5.c
michael_mic.c
pcbc.c
pcompress.c
proc.c
ripemd.h
rmd128.c
rmd160.c
rmd256.c
rmd320.c
rng.c
salsa20_generic.c
scatterwalk.c
seed.c
seqiv.c
serpent.c
sha1_generic.c
sha256_generic.c
sha512_generic.c
shash.c
tcrypt.c
tcrypt.h
tea.c
testmgr.c
testmgr.h
tgr192.c
twofish.c
twofish_common.c
vmac.c
wp512.c
xcbc.c
xor.c
xts.c
zlib.c