diff options
Diffstat (limited to 'net/strparser/strparser.c')
-rw-r--r-- | net/strparser/strparser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c index da1a676860ca..860dcfb95ee4 100644 --- a/net/strparser/strparser.c +++ b/net/strparser/strparser.c | |||
@@ -550,6 +550,8 @@ EXPORT_SYMBOL_GPL(strp_check_rcv); | |||
550 | static int __init strp_mod_init(void) | 550 | static int __init strp_mod_init(void) |
551 | { | 551 | { |
552 | strp_wq = create_singlethread_workqueue("kstrp"); | 552 | strp_wq = create_singlethread_workqueue("kstrp"); |
553 | if (unlikely(!strp_wq)) | ||
554 | return -ENOMEM; | ||
553 | 555 | ||
554 | return 0; | 556 | return 0; |
555 | } | 557 | } |