mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
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>
This commit is contained in:
parent
962ad1f937
commit
2fbec27f81
1 changed files with 3 additions and 3 deletions
|
@ -34,8 +34,8 @@ struct tcf_bpf_cfg {
|
||||||
static unsigned int bpf_net_id;
|
static unsigned int bpf_net_id;
|
||||||
static struct tc_action_ops act_bpf_ops;
|
static struct tc_action_ops act_bpf_ops;
|
||||||
|
|
||||||
static int tcf_bpf(struct sk_buff *skb, const struct tc_action *act,
|
static int tcf_bpf_act(struct sk_buff *skb, const struct tc_action *act,
|
||||||
struct tcf_result *res)
|
struct tcf_result *res)
|
||||||
{
|
{
|
||||||
bool at_ingress = skb_at_tc_ingress(skb);
|
bool at_ingress = skb_at_tc_ingress(skb);
|
||||||
struct tcf_bpf *prog = to_bpf(act);
|
struct tcf_bpf *prog = to_bpf(act);
|
||||||
|
@ -406,7 +406,7 @@ static struct tc_action_ops act_bpf_ops __read_mostly = {
|
||||||
.kind = "bpf",
|
.kind = "bpf",
|
||||||
.type = TCA_ACT_BPF,
|
.type = TCA_ACT_BPF,
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.act = tcf_bpf,
|
.act = tcf_bpf_act,
|
||||||
.dump = tcf_bpf_dump,
|
.dump = tcf_bpf_dump,
|
||||||
.cleanup = tcf_bpf_cleanup,
|
.cleanup = tcf_bpf_cleanup,
|
||||||
.init = tcf_bpf_init,
|
.init = tcf_bpf_init,
|
||||||
|
|
Loading…
Reference in a new issue