diff options
author | Jamal Hadi Salim <jhs@mojatatu.com> | 2018-08-12 15:34:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-13 18:06:16 +0200 |
commit | 2fbec27f816bd95ebc468d17a784b20a72b95896 (patch) | |
tree | 14eb050173769feb3f0bfaa430f0be39ab05651e /net | |
parent | net: sched: act_connmark method rename for grep-ability and consistency (diff) | |
download | linux-2fbec27f816bd95ebc468d17a784b20a72b95896.tar.xz linux-2fbec27f816bd95ebc468d17a784b20a72b95896.zip |
net: sched: act_bpf method rename for grep-ability and consistency
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/sched/act_bpf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/act_bpf.c b/net/sched/act_bpf.c index 9e8a33f9fee3..9b30e62805c7 100644 --- a/net/sched/act_bpf.c +++ b/net/sched/act_bpf.c @@ -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, |