]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ablk_helper - Fix cryptd reordering
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 21 Jun 2016 08:55:15 +0000 (16:55 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Jun 2016 10:29:53 +0000 (18:29 +0800)
commit385b55ad77f48eff84c1324b99334c2911555d41
treeb58640d3876d25548de8a1edd14c832a558fbf44
parentdfce423dab4a20ee345d9e515fc86796ed1cb05a
crypto: ablk_helper - 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.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ablk_helper.c