mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
module: icp: drop software provider generation numbers
We register all providers at once, before anything happens Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12901
This commit is contained in:
@@ -104,7 +104,6 @@ crypto_create_ctx_template(crypto_mechanism_t *mech, crypto_key_t *key,
|
||||
&(ctx_tmpl->ct_prov_tmpl), &(ctx_tmpl->ct_size), KCF_RHNDL(kmflag));
|
||||
|
||||
if (error == CRYPTO_SUCCESS) {
|
||||
ctx_tmpl->ct_generation = me->me_gen_swprov;
|
||||
*ptmpl = ctx_tmpl;
|
||||
} else {
|
||||
kmem_free(ctx_tmpl, sizeof (kcf_ctx_template_t));
|
||||
|
||||
Reference in New Issue
Block a user