Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 056c04ba authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: seqiv - Fix module unload/reload crash



On module unload we weren't unregistering the seqniv template,
thus leading to a crash the next time someone walks the template
list.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ccdb8a03
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -874,6 +874,7 @@ static int __init seqiv_module_init(void)

static void __exit seqiv_module_exit(void)
{
	crypto_unregister_template(&seqniv_tmpl);
	crypto_unregister_template(&seqiv_tmpl);
}