]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: sched: act_ipt method rename for grep-ability and consistency
authorJamal Hadi Salim <jhs@mojatatu.com>
Sun, 12 Aug 2018 13:34:53 +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_ipt.c

index e149f0e66cb6c02cc956d817ed1e4c98901cec9f..51f235bbeb5bccb4267fd70eeec8399494c9f246 100644 (file)
@@ -222,8 +222,8 @@ static int tcf_xt_init(struct net *net, struct nlattr *nla,
                              bind);
 }
 
-static int tcf_ipt(struct sk_buff *skb, const struct tc_action *a,
-                  struct tcf_result *res)
+static int tcf_ipt_act(struct sk_buff *skb, const struct tc_action *a,
+                      struct tcf_result *res)
 {
        int ret = 0, result = 0;
        struct tcf_ipt *ipt = to_ipt(a);
@@ -348,7 +348,7 @@ static struct tc_action_ops act_ipt_ops = {
        .kind           =       "ipt",
        .type           =       TCA_ACT_IPT,
        .owner          =       THIS_MODULE,
-       .act            =       tcf_ipt,
+       .act            =       tcf_ipt_act,
        .dump           =       tcf_ipt_dump,
        .cleanup        =       tcf_ipt_release,
        .init           =       tcf_ipt_init,
@@ -406,7 +406,7 @@ static struct tc_action_ops act_xt_ops = {
        .kind           =       "xt",
        .type           =       TCA_ACT_XT,
        .owner          =       THIS_MODULE,
-       .act            =       tcf_ipt,
+       .act            =       tcf_ipt_act,
        .dump           =       tcf_ipt_dump,
        .cleanup        =       tcf_ipt_release,
        .init           =       tcf_xt_init,