提交 f78ef7cd 编写于 作者: W WANG Cong 提交者: 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: NCong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册