aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/wext-core.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-13 04:29:33 -0500
committerDavid S. Miller <davem@davemloft.net>2018-02-13 10:36:08 -0500
commit6c0075d0f6ccf5be4527408830852106808ab2bb (patch)
treef5a044b1ae2842b03a60326b36cd37e80032e19d /net/wireless/wext-core.c
parent83caf62c867bed2637d4f3713839b0c414d6d966 (diff)
net: Convert wext_pernet_ops
These pernet_operations initialize and purge net::wext_nlevents queue, and are not touched by foreign pernet_operations. Mark them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Acked-by: Andrei Vagin <avagin@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/wext-core.c')
-rw-r--r--net/wireless/wext-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/wext-core.c b/net/wireless/wext-core.c
index 9efbfc753347..bc7064486b15 100644
--- a/net/wireless/wext-core.c
+++ b/net/wireless/wext-core.c
@@ -390,6 +390,7 @@ static void __net_exit wext_pernet_exit(struct net *net)
390static struct pernet_operations wext_pernet_ops = { 390static struct pernet_operations wext_pernet_ops = {
391 .init = wext_pernet_init, 391 .init = wext_pernet_init,
392 .exit = wext_pernet_exit, 392 .exit = wext_pernet_exit,
393 .async = true,
393}; 394};
394 395
395static int __init wireless_nlevent_init(void) 396static int __init wireless_nlevent_init(void)