rpc: fix xdr_truncate_encode to handle buffer ending on page boundary
[cascardo/linux.git] / crypto / af_alg.c
index 1fa7bc3..4665b79 100644 (file)
@@ -455,6 +455,9 @@ void af_alg_complete(struct crypto_async_request *req, int err)
 {
        struct af_alg_completion *completion = req->data;
 
+       if (err == -EINPROGRESS)
+               return;
+
        completion->err = err;
        complete(&completion->completion);
 }