]> git.baikalelectronics.ru Git - kernel.git/commitdiff
strparser: destroy workqueue on module exit
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 3 Mar 2017 20:21:14 +0000 (12:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Mar 2017 04:43:26 +0000 (20:43 -0800)
Fixes: 43a0c6751a32 ("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>
net/strparser/strparser.c

index 41adf362936d7dc4035cf9db7d7962f8dafcad0d..b5c279b2268017e502f2028355874b62208dc3a1 100644 (file)
@@ -504,6 +504,7 @@ static int __init strp_mod_init(void)
 
 static void __exit strp_mod_exit(void)
 {
+       destroy_workqueue(strp_wq);
 }
 module_init(strp_mod_init);
 module_exit(strp_mod_exit);