commit | 5703c826b758e0b33c998739af093879979315b8 | [log] [tgz] |
---|---|---|
author | Stephan Mueller <smueller@chronox.de> | Sun Jul 30 14:31:18 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Aug 09 20:17:50 2017 +0800 |
tree | 71296be72e8bcae1f539da6c212cdb24fbb98668 | |
parent | 5060ffc97bc6fdd31595b3ecbc027b0a8df94b5c [diff] |
crypto: algif - return error code when no data was processed If no data has been processed during recvmsg, return the error code. This covers all errors received during non-AIO operations. If any error occurs during a synchronous operation in addition to -EIOCBQUEUED or -EBADMSG (like -ENOMEM), it should be relayed to the caller. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>