[PATCH RFC 24/25] net: Move wext_pernet_ops to pernet_sys list

Kirill Tkhai
2017-11-17T18:31:10Z

These pernet_operations initialize and purge net::wext_nlevents
queue, and are not touched by foreign pernet_operations.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
---
net/wireless/wext-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/wireless/wext-core.c b/net/wireless/wext-core.c
index 6cdb054484d6..2103c2a003ed 100644
--- a/net/wireless/wext-core.c
+++ b/net/wireless/wext-core.c
@@ -394,7 +394,7 @@ static struct pernet_operations wext_pernet_ops = {

static int __init wireless_nlevent_init(void)
{
- int err = register_pernet_subsys(&wext_pernet_ops);
+ int err = register_pernet_sys(&wext_pernet_ops);

if (err)
return err;