summaryrefslogtreecommitdiff
path: root/crypto/mcryptd.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-06-21 11:55:17 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-06-23 13:29:54 +0300
commit820573ebd60d85afb8bb07fa3547ebbf842c59d4 (patch)
tree9bec83e6fa22214ed25d87ec4d81382f0b52120e /crypto/mcryptd.c
parent7271b33cb87e80f3a416fb031ad3ca87f0bea80a (diff)
downloadlinux-820573ebd60d85afb8bb07fa3547ebbf842c59d4.tar.xz
crypto: ghash-ce - Fix cryptd reordering
This patch fixes an old bug where requests can be reordered because some are processed by cryptd while others are processed directly in softirq context. The fix is to always postpone to cryptd if there are currently requests outstanding from the same tfm. This patch also removes the redundant use of cryptd in the async init function as init never touches the FPU. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/mcryptd.c')
0 files changed, 0 insertions, 0 deletions