OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83caf62
)
net: Convert wext_pernet_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Tue, 13 Feb 2018 09:29:33 +0000
(12:29 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Feb 2018 15:36:08 +0000
(10:36 -0500)
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>
net/wireless/wext-core.c
patch
|
blob
|
history
diff --git
a/net/wireless/wext-core.c
b/net/wireless/wext-core.c
index
9efbfc7
..
bc70644
100644
(file)
--- 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)
static struct pernet_operations wext_pernet_ops = {
.init = wext_pernet_init,
.exit = wext_pernet_exit,
+ .async = true,
};
static int __init wireless_nlevent_init(void)