mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 22:28:00 +00:00
strparser: destroy workqueue on module exit
Fixes: 43a0c6751a
("strparser: Stream parser for messages")
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
20b83643ab
commit
f78ef7cd9a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue