]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: algif_skcipher - Do not set MAY_BACKLOG on the async path
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 3 Feb 2016 13:39:27 +0000 (21:39 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 6 Feb 2016 07:23:55 +0000 (15:23 +0800)
commit180e7981889823cc022a22706a5d3781bea04d5f
treec71b233fed1969b4905fda7acf7c782895aaef0f
parentc2371fa872c2373bbb5232c391355e477371c47b
crypto: algif_skcipher - Do not set MAY_BACKLOG on the async path

The async path cannot use MAY_BACKLOG because it is not meant to
block, which is what MAY_BACKLOG does.  On the other hand, both
the sync and async paths can make use of MAY_SLEEP.

Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algif_skcipher.c