diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/algapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c index c3cf1a69a47a..6fd9bcf876ad 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c | |||
@@ -493,6 +493,7 @@ int crypto_register_instance(struct crypto_template *tmpl, | |||
493 | goto err; | 493 | goto err; |
494 | 494 | ||
495 | inst->alg.cra_module = tmpl->module; | 495 | inst->alg.cra_module = tmpl->module; |
496 | inst->alg.cra_flags |= CRYPTO_ALG_INSTANCE; | ||
496 | 497 | ||
497 | down_write(&crypto_alg_sem); | 498 | down_write(&crypto_alg_sem); |
498 | 499 | ||