Commit f78ef7cd authored by WANG Cong's avatar WANG Cong Committed by David S. Miller

strparser: destroy workqueue on module exit

Fixes: 43a0c675 ("strparser: Stream parser for messages")
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 20b83643
...@@ -504,6 +504,7 @@ static int __init strp_mod_init(void) ...@@ -504,6 +504,7 @@ static int __init strp_mod_init(void)
static void __exit strp_mod_exit(void) static void __exit strp_mod_exit(void)
{ {
destroy_workqueue(strp_wq);
} }
module_init(strp_mod_init); module_init(strp_mod_init);
module_exit(strp_mod_exit); module_exit(strp_mod_exit);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment