summaryrefslogtreecommitdiff
path: root/crypto/cts.c
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2017-11-29 12:47:41 +1100
committerJames Morris <james.l.morris@oracle.com>2017-11-29 12:47:41 +1100
commita43a1243adfa8cc682fd4dacab89910865c28031 (patch)
tree7aef00d973ddaeace8916dca0d2a5b5b33cd28de /crypto/cts.c
parentf960b5ebd9ed09bc12e10c712bce82ab58ef0435 (diff)
parent65cb3654889e0b748abc7756260ca267705aee14 (diff)
downloadlinux-crypto-a43a1243adfa8cc682fd4dacab89910865c28031.tar.gz
linux-crypto-a43a1243adfa8cc682fd4dacab89910865c28031.zip
Merge tag 'v4.15-rc1' into next-seccomp
Linux 4.15-rc1
Diffstat (limited to 'crypto/cts.c')
-rw-r--r--crypto/cts.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/cts.c b/crypto/cts.c
index 243f591d..4773c188 100644
--- a/crypto/cts.c
+++ b/crypto/cts.c
@@ -136,8 +136,7 @@ static void crypto_cts_encrypt_done(struct crypto_async_request *areq, int err)
goto out;
err = cts_cbc_encrypt(req);
- if (err == -EINPROGRESS ||
- (err == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
+ if (err == -EINPROGRESS || err == -EBUSY)
return;
out:
@@ -229,8 +228,7 @@ static void crypto_cts_decrypt_done(struct crypto_async_request *areq, int err)
goto out;
err = cts_cbc_decrypt(req);
- if (err == -EINPROGRESS ||
- (err == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
+ if (err == -EINPROGRESS || err == -EBUSY)
return;
out: