diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/pkt_cls.h | 3 | ||||
-rw-r--r-- | include/net/sch_generic.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index e80edd8879ef..3009547f3c66 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h | |||
@@ -2,6 +2,7 @@ | |||
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 <linux/workqueue.h> | ||
5 | #include <net/sch_generic.h> | 6 | #include <net/sch_generic.h> |
6 | #include <net/act_api.h> | 7 | #include <net/act_api.h> |
7 | 8 | ||
@@ -17,6 +18,8 @@ struct tcf_walker { | |||
17 | int register_tcf_proto_ops(struct tcf_proto_ops *ops); | 18 | int register_tcf_proto_ops(struct tcf_proto_ops *ops); |
18 | int unregister_tcf_proto_ops(struct tcf_proto_ops *ops); | 19 | int unregister_tcf_proto_ops(struct tcf_proto_ops *ops); |
19 | 20 | ||
21 | bool tcf_queue_work(struct work_struct *work); | ||
22 | |||
20 | #ifdef CONFIG_NET_CLS | 23 | #ifdef CONFIG_NET_CLS |
21 | struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, | 24 | struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, |
22 | bool create); | 25 | bool create); |
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 135f5a2dd931..0dec8a23be57 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h | |||
@@ -10,6 +10,7 @@ | |||
10 | #include <linux/dynamic_queue_limits.h> | 10 | #include <linux/dynamic_queue_limits.h> |
11 | #include <linux/list.h> | 11 | #include <linux/list.h> |
12 | #include <linux/refcount.h> | 12 | #include <linux/refcount.h> |
13 | #include <linux/workqueue.h> | ||
13 | #include <net/gen_stats.h> | 14 | #include <net/gen_stats.h> |
14 | #include <net/rtnetlink.h> | 15 | #include <net/rtnetlink.h> |
15 | 16 | ||
@@ -271,6 +272,7 @@ struct tcf_chain { | |||
271 | 272 | ||
272 | struct tcf_block { | 273 | struct tcf_block { |
273 | struct list_head chain_list; | 274 | struct list_head chain_list; |
275 | struct work_struct work; | ||
274 | }; | 276 | }; |
275 | 277 | ||
276 | static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz) | 278 | static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz) |