aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r--include/net/net_namespace.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 37bcf8382b61..922e8b6fb422 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -60,9 +60,10 @@ struct net {
60 60
61 struct list_head list; /* list of network namespaces */ 61 struct list_head list; /* list of network namespaces */
62 struct list_head exit_list; /* To linked to call pernet exit 62 struct list_head exit_list; /* To linked to call pernet exit
63 * methods on dead net (net_sem 63 * methods on dead net (
64 * read locked), or to unregister 64 * pernet_ops_rwsem read locked),
65 * pernet ops (net_sem wr locked). 65 * or to unregister pernet ops
66 * (pernet_ops_rwsem write locked).
66 */ 67 */
67 struct llist_node cleanup_list; /* namespaces on death row */ 68 struct llist_node cleanup_list; /* namespaces on death row */
68 69
@@ -95,8 +96,9 @@ struct net {
95 /* core fib_rules */ 96 /* core fib_rules */
96 struct list_head rules_ops; 97 struct list_head rules_ops;
97 98
98 struct list_head fib_notifier_ops; /* protected by net_sem */ 99 struct list_head fib_notifier_ops; /* Populated by
99 100 * register_pernet_subsys()
101 */
100 struct net_device *loopback_dev; /* The loopback */ 102 struct net_device *loopback_dev; /* The loopback */
101 struct netns_core core; 103 struct netns_core core;
102 struct netns_mib mib; 104 struct netns_mib mib;