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

index 9e8a33f9fee3ab6746e347303be295fccb806a12..9b30e62805c7436b030d15958eaec607fdedb8b6 100644 (file)
@@ -34,8 +34,8 @@ struct tcf_bpf_cfg {
 static unsigned int bpf_net_id;
 static struct tc_action_ops act_bpf_ops;
 
-static int tcf_bpf(struct sk_buff *skb, const struct tc_action *act,
-                  struct tcf_result *res)
+static int tcf_bpf_act(struct sk_buff *skb, const struct tc_action *act,
+                      struct tcf_result *res)
 {
        bool at_ingress = skb_at_tc_ingress(skb);
        struct tcf_bpf *prog = to_bpf(act);
@@ -406,7 +406,7 @@ static struct tc_action_ops act_bpf_ops __read_mostly = {
        .kind           =       "bpf",
        .type           =       TCA_ACT_BPF,
        .owner          =       THIS_MODULE,
-       .act            =       tcf_bpf,
+       .act            =       tcf_bpf_act,
        .dump           =       tcf_bpf_dump,
        .cleanup        =       tcf_bpf_cleanup,
        .init           =       tcf_bpf_init,