diff mbox

[net] strparser: destroy workqueue on module exit

Message ID 1488572474-11779-1-git-send-email-xiyou.wangcong@gmail.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Cong Wang March 3, 2017, 8:21 p.m. UTC
Fixes: 43a0c6751a32 ("strparser: Stream parser for messages")
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
---
 net/strparser/strparser.c | 1 +
 1 file changed, 1 insertion(+)

Comments

David Miller March 4, 2017, 4:44 a.m. UTC | #1
From: Cong Wang <xiyou.wangcong@gmail.com>
Date: Fri,  3 Mar 2017 12:21:14 -0800

> Fixes: 43a0c6751a32 ("strparser: Stream parser for messages")
> Cc: Tom Herbert <tom@herbertland.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>

Applied and queued up for -stable, thanks.
diff mbox

Patch

diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c
index 41adf36..b5c279b 100644
--- a/net/strparser/strparser.c
+++ b/net/strparser/strparser.c
@@ -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);