diff options
| author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-03-03 12:21:14 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-22 12:56:59 +0100 |
| commit | 178e86ff331d5d78994c2014929d5848d5974e4e (patch) | |
| tree | 13e515b79dea55cee31d44f2fb6207ab3b9c7c3f /net/strparser | |
| parent | aa677aafef5c3976f87243ac598dc56555a57ec5 (diff) | |
| download | talos-obmc-linux-178e86ff331d5d78994c2014929d5848d5974e4e.tar.gz talos-obmc-linux-178e86ff331d5d78994c2014929d5848d5974e4e.zip | |
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>
Diffstat (limited to 'net/strparser')
| -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); |

