diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-05-17 11:07:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-17 15:22:13 -0400 |
commit | 87d83093bfc2f4938ff21524ebb50ecf53c15a64 (patch) | |
tree | 01fb111836ae2d7e38bfd649bd774eee8fdd458c /net/sched/sch_hfsc.c | |
parent | c63fbb0b41ef3c863a8c6da259000084d9e1c458 (diff) | |
download | linux-87d83093bfc2f4938ff21524ebb50ecf53c15a64.tar.gz linux-87d83093bfc2f4938ff21524ebb50ecf53c15a64.tar.bz2 linux-87d83093bfc2f4938ff21524ebb50ecf53c15a64.zip |
net: sched: move tc_classify function to cls_api.c
Move tc_classify function to cls_api.c where it belongs, rename it to
fit the namespace.
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_hfsc.c')
-rw-r--r-- | net/sched/sch_hfsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_hfsc.c b/net/sched/sch_hfsc.c index 5cb82f6c1b06..b0dcab199205 100644 --- a/net/sched/sch_hfsc.c +++ b/net/sched/sch_hfsc.c @@ -1142,7 +1142,7 @@ hfsc_classify(struct sk_buff *skb, struct Qdisc *sch, int *qerr) *qerr = NET_XMIT_SUCCESS | __NET_XMIT_BYPASS; head = &q->root; tcf = rcu_dereference_bh(q->root.filter_list); - while (tcf && (result = tc_classify(skb, tcf, &res, false)) >= 0) { + while (tcf && (result = tcf_classify(skb, tcf, &res, false)) >= 0) { #ifdef CONFIG_NET_CLS_ACT switch (result) { case TC_ACT_QUEUED: |