Skip to content

Commit

Permalink
strparser: destroy workqueue on module exit
Browse files Browse the repository at this point in the history
Fixes: 43a0c67 ("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>
  • Loading branch information
congwang authored and davem330 committed Mar 4, 2017
1 parent 20b8364 commit f78ef7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/strparser/strparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f78ef7c

Please sign in to comment.