VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Herbert Xu <herbert@gondor.apana.org.au> 2020-07-31 17:03:27 +1000 committer: Herbert Xu <herbert@gondor.apana.org.au> 2020-08-21 14:45:26 +1000 commit: 2a05b029c1ee045b886ebf9efef9985ca23450de parent: 129a4dba1b1ba9bb36c46209fc6379beb8926312
Commit Summary:
crypto: algif_skcipher - EBUSY on aio should be an error
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/crypto/algif_skcipher.c b/crypto/algif_skcipher.c
index 478f3b8f5bd5..ee8890ee8f33 100644
--- a/crypto/algif_skcipher.c
+++ b/crypto/algif_skcipher.c
@@ -123,7 +123,7 @@ static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg,
 			crypto_skcipher_decrypt(&areq->cra_u.skcipher_req);
 
 		/* AIO operation in progress */
-		if (err == -EINPROGRESS || err == -EBUSY)
+		if (err == -EINPROGRESS)
 			return -EIOCBQUEUED;
 
 		sock_put(sk);