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>
This commit is contained in:

committed by
David S. Miller

parent
c63fbb0b41
commit
87d83093bf
@@ -233,7 +233,7 @@ cbq_classify(struct sk_buff *skb, struct Qdisc *sch, int *qerr)
|
||||
/*
|
||||
* Step 2+n. Apply classifier.
|
||||
*/
|
||||
result = tc_classify(skb, fl, &res, true);
|
||||
result = tcf_classify(skb, fl, &res, true);
|
||||
if (!fl || result < 0)
|
||||
goto fallback;
|
||||
|
||||
|
Reference in New Issue
Block a user