diff options
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r-- | include/net/net_namespace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 5dd6d90b37eb..90802a668c23 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | struct proc_dir_entry; | 11 | struct proc_dir_entry; |
12 | struct net_device; | 12 | struct net_device; |
13 | struct sock; | ||
13 | struct net { | 14 | struct net { |
14 | atomic_t count; /* To decided when the network | 15 | atomic_t count; /* To decided when the network |
15 | * namespace should be freed. | 16 | * namespace should be freed. |
@@ -29,6 +30,8 @@ struct net { | |||
29 | struct list_head dev_base_head; | 30 | struct list_head dev_base_head; |
30 | struct hlist_head *dev_name_head; | 31 | struct hlist_head *dev_name_head; |
31 | struct hlist_head *dev_index_head; | 32 | struct hlist_head *dev_index_head; |
33 | |||
34 | struct sock *rtnl; /* rtnetlink socket */ | ||
32 | }; | 35 | }; |
33 | 36 | ||
34 | #ifdef CONFIG_NET | 37 | #ifdef CONFIG_NET |