net: sched: act_mirred method rename for grep-ability and consistency
authorJamal Hadi Salim <jhs@mojatatu.com>
Sun, 12 Aug 2018 13:35:01 +0000 (09:35 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Aug 2018 16:06:17 +0000 (09:06 -0700)
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_mirred.c

index 327be257033d873620c6aaf21e186e473699a5e5..8ec216001077905298fb44fc4ec2ae6754af203a 100644 (file)
@@ -190,8 +190,8 @@ static int tcf_mirred_init(struct net *net, struct nlattr *nla,
        return ret;
 }
 
-static int tcf_mirred(struct sk_buff *skb, const struct tc_action *a,
-                     struct tcf_result *res)
+static int tcf_mirred_act(struct sk_buff *skb, const struct tc_action *a,
+                         struct tcf_result *res)
 {
        struct tcf_mirred *m = to_mirred(a);
        struct sk_buff *skb2 = skb;
@@ -406,7 +406,7 @@ static struct tc_action_ops act_mirred_ops = {
        .kind           =       "mirred",
        .type           =       TCA_ACT_MIRRED,
        .owner          =       THIS_MODULE,
-       .act            =       tcf_mirred,
+       .act            =       tcf_mirred_act,
        .stats_update   =       tcf_stats_update,
        .dump           =       tcf_mirred_dump,
        .cleanup        =       tcf_mirred_release,