From: WANG Cong Date: Fri, 3 Mar 2017 20:21:14 +0000 (-0800) Subject: strparser: destroy workqueue on module exit X-Git-Tag: v4.14-rc1~1340^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f78ef7cd9a0686b979679d0de061c6dbfd8d649e;p=platform%2Fkernel%2Flinux-rpi.git strparser: destroy workqueue on module exit Fixes: 43a0c6751a32 ("strparser: Stream parser for messages") Cc: Tom Herbert Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- 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);