summaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-06-17 17:28:25 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-06-18 21:14:29 +0200
commit04c52dec1473c5dff9d07cd39a68c9b23def6c42 (patch)
tree5a9a501e4d6cf0770c33b4e66b94dcec6bd747cf /include/net/net_namespace.h
parentnet: sched: Simplify em_ipset_match (diff)
downloadlinux-04c52dec1473c5dff9d07cd39a68c9b23def6c42.tar.xz
linux-04c52dec1473c5dff9d07cd39a68c9b23def6c42.zip
net: include missing headers in net/net_namespace.h
Include linux/idr.h and linux/skbuff.h since they are required by objects that are declared in the net structure. struct net { ... struct idr netns_ids; ... struct sk_buff_head wext_nlevents; ... Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r--include/net/net_namespace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 72eb23723294..e951453e0a23 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -28,6 +28,8 @@
#include <net/netns/xfrm.h>
#include <net/netns/mpls.h>
#include <linux/ns_common.h>
+#include <linux/idr.h>
+#include <linux/skbuff.h>
struct user_namespace;
struct proc_dir_entry;