All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch net] strparser: destroy workqueue on module exit
@ 2017-03-03 20:21 Cong Wang
  2017-03-04  4:44 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Cong Wang @ 2017-03-03 20:21 UTC (permalink / raw)
  To: netdev; +Cc: Cong Wang, Tom Herbert

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(+)

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);
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch net] strparser: destroy workqueue on module exit
  2017-03-03 20:21 [Patch net] strparser: destroy workqueue on module exit Cong Wang
@ 2017-03-04  4:44 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-03-04  4:44 UTC (permalink / raw)
  To: xiyou.wangcong; +Cc: netdev, tom

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-04  4:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-03 20:21 [Patch net] strparser: destroy workqueue on module exit Cong Wang
2017-03-04  4:44 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.