diff options
-rw-r--r-- | include/net/pkt_cls.h | 3 | ||||
-rw-r--r-- | include/net/sock.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index f285de69c615..2eaf20480024 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h | |||
@@ -2,7 +2,6 @@ | |||
2 | #define __NET_PKT_CLS_H | 2 | #define __NET_PKT_CLS_H |
3 | 3 | ||
4 | #include <linux/pkt_cls.h> | 4 | #include <linux/pkt_cls.h> |
5 | #include <net/net_namespace.h> | ||
6 | #include <net/sch_generic.h> | 5 | #include <net/sch_generic.h> |
7 | #include <net/act_api.h> | 6 | #include <net/act_api.h> |
8 | 7 | ||
@@ -336,6 +335,8 @@ static inline int tcf_valid_offset(const struct sk_buff *skb, | |||
336 | } | 335 | } |
337 | 336 | ||
338 | #ifdef CONFIG_NET_CLS_IND | 337 | #ifdef CONFIG_NET_CLS_IND |
338 | #include <net/net_namespace.h> | ||
339 | |||
339 | static inline int | 340 | static inline int |
340 | tcf_change_indev(struct tcf_proto *tp, char *indev, struct rtattr *indev_tlv) | 341 | tcf_change_indev(struct tcf_proto *tp, char *indev, struct rtattr *indev_tlv) |
341 | { | 342 | { |
diff --git a/include/net/sock.h b/include/net/sock.h index bcbf8891dde4..800e73a62d8f 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -57,7 +57,6 @@ | |||
57 | #include <asm/atomic.h> | 57 | #include <asm/atomic.h> |
58 | #include <net/dst.h> | 58 | #include <net/dst.h> |
59 | #include <net/checksum.h> | 59 | #include <net/checksum.h> |
60 | #include <net/net_namespace.h> | ||
61 | 60 | ||
62 | /* | 61 | /* |
63 | * This structure really needs to be cleaned up. | 62 | * This structure really needs to be cleaned up. |
@@ -95,6 +94,7 @@ typedef struct { | |||
95 | 94 | ||
96 | struct sock; | 95 | struct sock; |
97 | struct proto; | 96 | struct proto; |
97 | struct net; | ||
98 | 98 | ||
99 | /** | 99 | /** |
100 | * struct sock_common - minimal network layer representation of sockets | 100 | * struct sock_common - minimal network layer representation of sockets |