aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-06-17 10:28:25 -0500
committerMister Oyster <oysterized@gmail.com>2017-04-25 11:28:24 +0200
commit1e6a6bf8fba86c42f76c842c18df10d4324d2c6e (patch)
tree10880c269be0634cf4d6633af4d790a402544a76 /include
parentfb67228005202805b65d219ff4a95e55e40f345c (diff)
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; ... (cherry picked from commit 04c52dec1473c5dff9d07cd39a68c9b23def6c42) Change-Id: I389db375ca5a63e91735a76ef5140dc3b355a831 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include')
-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 b17697827..f4f12e845 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -23,6 +23,8 @@
#include <net/netns/conntrack.h>
#endif
#include <net/netns/xfrm.h>
+#include <linux/idr.h>
+#include <linux/skbuff.h>
struct user_namespace;
struct proc_dir_entry;