diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 89dc99a28978f14f8227904013282212b15d513b..198ce503ae73dec982e8fa74f707d653414ad7fb 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -345,7 +345,7 @@ static __net_init int setup_net(struct net *net, struct user_namespace *user_ns) synchronize_rcu(); - saved_ops = ops; + ops = saved_ops; list_for_each_entry_continue_reverse(ops, &pernet_list, list) ops_exit_list(ops, &net_exit_list);