提交 6c0075d0 编写于 作者: K Kirill Tkhai 提交者: David S. Miller

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: NKirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: NAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 83caf62c
...@@ -390,6 +390,7 @@ static void __net_exit wext_pernet_exit(struct net *net) ...@@ -390,6 +390,7 @@ static void __net_exit wext_pernet_exit(struct net *net)
static struct pernet_operations wext_pernet_ops = { static struct pernet_operations wext_pernet_ops = {
.init = wext_pernet_init, .init = wext_pernet_init,
.exit = wext_pernet_exit, .exit = wext_pernet_exit,
.async = true,
}; };
static int __init wireless_nlevent_init(void) static int __init wireless_nlevent_init(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册