diff options
| author | WANG Cong <[email protected]> | 2017-03-03 20:21:14 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-03-04 04:43:26 +0000 |
| commit | f78ef7cd9a0686b979679d0de061c6dbfd8d649e (patch) | |
| tree | 7f3650d9ce35cbc8a92883a2369476b10ad66e7d /net/strparser/strparser.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff) | |
| download | kernel-f78ef7cd9a0686b979679d0de061c6dbfd8d649e.tar.gz kernel-f78ef7cd9a0686b979679d0de061c6dbfd8d649e.zip | |
strparser: destroy workqueue on module exit
Fixes: 43a0c6751a32 ("strparser: Stream parser for messages")
Cc: Tom Herbert <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/strparser/strparser.c')
| -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 41adf362936d..b5c279b22680 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); |
