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;