net: sched: act_vlan method rename for grep-ability and consistency
authorJamal Hadi Salim <jhs@mojatatu.com>
Sun, 12 Aug 2018 13:35:00 +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_vlan.c

index 5bde17fe36086baa11c369336c48abf6c5022446..d1f5028384c9ce43d2706345d7bedf61860c1c6c 100644 (file)
@@ -22,8 +22,8 @@
 static unsigned int vlan_net_id;
 static struct tc_action_ops act_vlan_ops;
 
-static int tcf_vlan(struct sk_buff *skb, const struct tc_action *a,
-                   struct tcf_result *res)
+static int tcf_vlan_act(struct sk_buff *skb, const struct tc_action *a,
+                       struct tcf_result *res)
 {
        struct tcf_vlan *v = to_vlan(a);
        struct tcf_vlan_params *p;
@@ -307,7 +307,7 @@ static struct tc_action_ops act_vlan_ops = {
        .kind           =       "vlan",
        .type           =       TCA_ACT_VLAN,
        .owner          =       THIS_MODULE,
-       .act            =       tcf_vlan,
+       .act            =       tcf_vlan_act,
        .dump           =       tcf_vlan_dump,
        .init           =       tcf_vlan_init,
        .cleanup        =       tcf_vlan_cleanup,