]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: algif_skcipher - Pass on error from af_alg_make_sg
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 28 Nov 2010 08:28:01 +0000 (16:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 28 Nov 2010 08:28:01 +0000 (16:28 +0800)
commit2a714a2515c6f023846b0b93929ad5c9a5ad17cb
tree5bf3dff445a259b361a5b7d87d625497aeed5a57
parentbc0f6106ed755e4e2e2d3032ffd5b833b06af6b1
crypto: algif_skcipher - Pass on error from af_alg_make_sg

The error returned from af_alg_make_sg is currently lost and we
always pass on -EINVAL.  This patch pases on the underlying error.

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