summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_htb.c
diff options
context:
space:
mode:
authorJiri Pirko2017-02-09 14:38:56 +0100
committerDavid S. Miller2017-02-10 17:38:08 +0100
commitcf1facda2f61bc3e9ffd985b6d624dec6ad3f279 (patch)
treeb6dda3c94a8e34fa9d895defe3ca6f46b6b898a6 /net/sched/sch_htb.c
parentsched: rename tcf_destroy to tcf_destroy_proto (diff)
downloadkernel-qcow2-linux-cf1facda2f61bc3e9ffd985b6d624dec6ad3f279.tar.gz
kernel-qcow2-linux-cf1facda2f61bc3e9ffd985b6d624dec6ad3f279.tar.xz
kernel-qcow2-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 'net/sched/sch_htb.c')
-rw-r--r--net/sched/sch_htb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index 760f39e7caee..4cd5fb134bc9 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -40,6 +40,7 @@
#include <net/netlink.h>
#include <net/sch_generic.h>
#include <net/pkt_sched.h>
+#include <net/pkt_cls.h>
/* HTB algorithm.
Author: devik@cdi.cz