diff options
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r-- | include/net/net_namespace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 90802a668c23..4d0d6349aa7e 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h | |||
@@ -32,6 +32,10 @@ struct net { | |||
32 | struct hlist_head *dev_index_head; | 32 | struct hlist_head *dev_index_head; |
33 | 33 | ||
34 | struct sock *rtnl; /* rtnetlink socket */ | 34 | struct sock *rtnl; /* rtnetlink socket */ |
35 | |||
36 | /* List of all packet sockets. */ | ||
37 | rwlock_t packet_sklist_lock; | ||
38 | struct hlist_head packet_sklist; | ||
35 | }; | 39 | }; |
36 | 40 | ||
37 | #ifdef CONFIG_NET | 41 | #ifdef CONFIG_NET |