diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-02-09 14:38:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 17:38:08 +0100 |
commit | cf1facda2f61bc3e9ffd985b6d624dec6ad3f279 (patch) | |
tree | b6dda3c94a8e34fa9d895defe3ca6f46b6b898a6 /include/net/sch_generic.h | |
parent | sched: rename tcf_destroy to tcf_destroy_proto (diff) | |
download | linux-cf1facda2f61bc3e9ffd985b6d624dec6ad3f279.tar.xz linux-cf1facda2f61bc3e9ffd985b6d624dec6ad3f279.zip |
sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_api
Creation is done in this file, move destruction to be at the same place.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r-- | include/net/sch_generic.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 453350650b9a..aeec4086afb2 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -405,8 +405,6 @@ struct Qdisc *qdisc_create_dflt(struct netdev_queue *dev_queue, const struct Qdisc_ops *ops, u32 parentid); void __qdisc_calculate_pkt_len(struct sk_buff *skb, const struct qdisc_size_table *stab); -bool tcf_proto_destroy(struct tcf_proto *tp, bool force); -void tcf_destroy_chain(struct tcf_proto __rcu **fl); int skb_do_redirect(struct sk_buff *); static inline void skb_reset_tc(struct sk_buff *skb) |