diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-03-03 20:21:14 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-22 11:43:33 (GMT) |
commit | 4547f03d1a624d7e92c65077b7cb5b2a33839cb3 (patch) | |
tree | a0b50f20c0ee01df2f35e4d359a2f66fd74d488e | |
parent | 51ae1fbcf17325d47c20f65fb968be2d2d12fed0 (diff) | |
download | linux-4547f03d1a624d7e92c65077b7cb5b2a33839cb3.tar.xz |
strparser: destroy workqueue on module exit
[ Upstream commit f78ef7cd9a0686b979679d0de061c6dbfd8d649e ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | net/strparser/strparser.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |