mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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: Herbert Xu <[email protected]>
This commit is contained in:
parent
ccdb8a0384
commit
056c04ba8b
1 changed files with 1 additions and 0 deletions
|
|
@ -874,6 +874,7 @@ out_undo_niv:
|
|||
|
||||
static void __exit seqiv_module_exit(void)
|
||||
{
|
||||
crypto_unregister_template(&seqniv_tmpl);
|
||||
crypto_unregister_template(&seqiv_tmpl);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue