From 52f50fcc58a14e00bd04c295d42cf2fe397ff5bd Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Tue, 2 Jul 2024 14:36:33 +0200 Subject: [PATCH] fix the compilation error I deleted *way* too much text. Re-add the necessary bit. --- nat46/modules/nat46-module.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nat46/modules/nat46-module.c b/nat46/modules/nat46-module.c index 8567687..34b4073 100644 --- a/nat46/modules/nat46-module.c +++ b/nat46/modules/nat46-module.c @@ -240,6 +240,13 @@ static void __net_exit nat46_ns_exit(struct net *net) } } +static struct pernet_operations nat46_netops = { + .init = nat46_ns_init, + .exit = nat46_ns_exit, + .id = &nat46_netid, + .size = sizeof(struct nat46_nsdata), +}; + static int __init nat46_init(void) { int ret = 0;