[Devel] [patch 04/20] [Network namespace] Initialize the init network namespace to level 2

dlezcano at fr.ibm.com dlezcano at fr.ibm.com
Sun Dec 10 13:58:21 PST 2006


Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

---

 net/core/net_namespace.c |    1 +
 1 files changed, 1 insertion(+)

Index: 2.6.19-rc6-mm2/net/core/net_namespace.c
===================================================================
--- 2.6.19-rc6-mm2.orig/net/core/net_namespace.c
+++ 2.6.19-rc6-mm2/net/core/net_namespace.c
@@ -26,6 +26,7 @@ struct net_namespace init_net_ns = {
 	.pcpu_lstats_p	= NULL,
 	.child_list	= LIST_HEAD_INIT(init_net_ns.child_list),
 	.sibling_list	= LIST_HEAD_INIT(init_net_ns.sibling_list),
+	.level          = NET_NS_LEVEL2,
 };
 
 #ifdef CONFIG_NET_NS

-- 
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list