net: sched: act_connmark method rename for grep-ability and consistency
authorJamal Hadi Salim <jhs@mojatatu.com>
Sun, 12 Aug 2018 13:34:49 +0000 (09:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Aug 2018 16:06:16 +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_connmark.c

index 2f9bc833d0467029f8e854e6a036583836d24567..54c0bf54f2acf71cd63ff17ef0cb74898bc0d478 100644 (file)
@@ -31,8 +31,8 @@
 static unsigned int connmark_net_id;
 static struct tc_action_ops act_connmark_ops;
 
-static int tcf_connmark(struct sk_buff *skb, const struct tc_action *a,
-                       struct tcf_result *res)
+static int tcf_connmark_act(struct sk_buff *skb, const struct tc_action *a,
+                           struct tcf_result *res)
 {
        const struct nf_conntrack_tuple_hash *thash;
        struct nf_conntrack_tuple tuple;
@@ -209,7 +209,7 @@ static struct tc_action_ops act_connmark_ops = {
        .kind           =       "connmark",
        .type           =       TCA_ACT_CONNMARK,
        .owner          =       THIS_MODULE,
-       .act            =       tcf_connmark,
+       .act            =       tcf_connmark_act,
        .dump           =       tcf_connmark_dump,
        .init           =       tcf_connmark_init,
        .walk           =       tcf_connmark_walker,