|
@@ -172,7 +172,7 @@ static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg)
|
|
|
struct crypto_larval *larval = (void *)alg;
|
|
|
long timeout;
|
|
|
|
|
|
- timeout = wait_for_completion_interruptible_timeout(
|
|
|
+ timeout = wait_for_completion_killable_timeout(
|
|
|
&larval->completion, 60 * HZ);
|
|
|
|
|
|
alg = larval->adult;
|
|
@@ -445,7 +445,7 @@ struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask)
|
|
|
err:
|
|
|
if (err != -EAGAIN)
|
|
|
break;
|
|
|
- if (signal_pending(current)) {
|
|
|
+ if (fatal_signal_pending(current)) {
|
|
|
err = -EINTR;
|
|
|
break;
|
|
|
}
|
|
@@ -562,7 +562,7 @@ void *crypto_alloc_tfm(const char *alg_name,
|
|
|
err:
|
|
|
if (err != -EAGAIN)
|
|
|
break;
|
|
|
- if (signal_pending(current)) {
|
|
|
+ if (fatal_signal_pending(current)) {
|
|
|
err = -EINTR;
|
|
|
break;
|
|
|
}
|