This pernet_operations create and destroy net::genl_sock.
Foreign pernet_operations don't touch it.

Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
---
 net/netlink/genetlink.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c
index d444daf1ac04..da7ab3dd5609 100644
--- a/net/netlink/genetlink.c
+++ b/net/netlink/genetlink.c
@@ -1045,7 +1045,7 @@ static int __init genl_init(void)
        if (err < 0)
                goto problem;
 
-       err = register_pernet_subsys(&genl_pernet_ops);
+       err = register_pernet_sys(&genl_pernet_ops);
        if (err)
                goto problem;
 

Reply via email to