提交 056c04ba 编写于 作者: H Herbert Xu

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: NHerbert Xu <herbert@gondor.apana.org.au>
上级 ccdb8a03
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册