]> 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)
commitf3ee9a7ba7d2a78e6197ba2951fb102824cc2931
treec71b233fed1969b4905fda7acf7c782895aaef0f
parent34472df2fea775fee7f490717d2a96025a6053c5
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