Skip to content

Commit f78ef7c

Browse files
congwangdavem330
authored andcommitted
strparser: destroy workqueue on module exit
Fixes: 43a0c67 ("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]>
1 parent 20b8364 commit f78ef7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/strparser/strparser.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ static int __init strp_mod_init(void)
504504

505505
static void __exit strp_mod_exit(void)
506506
{
507+
destroy_workqueue(strp_wq);
507508
}
508509
module_init(strp_mod_init);
509510
module_exit(strp_mod_exit);

0 commit comments

Comments
 (0)