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

index 4dd9188a72fddd9ebb7ccf87950d1068b61837af..822e903bfc25f008d9754d1340a5b4352f4fe59e 100644 (file)
@@ -93,8 +93,8 @@ static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est,
        return ret;
 }
 
-static int tcf_nat(struct sk_buff *skb, const struct tc_action *a,
-                  struct tcf_result *res)
+static int tcf_nat_act(struct sk_buff *skb, const struct tc_action *a,
+                      struct tcf_result *res)
 {
        struct tcf_nat *p = to_tcf_nat(a);
        struct iphdr *iph;
@@ -311,7 +311,7 @@ static struct tc_action_ops act_nat_ops = {
        .kind           =       "nat",
        .type           =       TCA_ACT_NAT,
        .owner          =       THIS_MODULE,
-       .act            =       tcf_nat,
+       .act            =       tcf_nat_act,
        .dump           =       tcf_nat_dump,
        .init           =       tcf_nat_init,
        .walk           =       tcf_nat_walker,