Skip to content

Commit

Permalink
net: sched: act_pedit method rename for grep-ability and consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
jhsmt authored and davem330 committed Aug 13, 2018
1 parent 0390514 commit 6a2b401
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/sched/act_pedit.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ static int pedit_skb_hdr_offset(struct sk_buff *skb,
return ret;
}

static int tcf_pedit(struct sk_buff *skb, const struct tc_action *a,
struct tcf_result *res)
static int tcf_pedit_act(struct sk_buff *skb, const struct tc_action *a,
struct tcf_result *res)
{
struct tcf_pedit *p = to_pedit(a);
int i;
Expand Down Expand Up @@ -471,7 +471,7 @@ static struct tc_action_ops act_pedit_ops = {
.kind = "pedit",
.type = TCA_ACT_PEDIT,
.owner = THIS_MODULE,
.act = tcf_pedit,
.act = tcf_pedit_act,
.dump = tcf_pedit_dump,
.cleanup = tcf_pedit_cleanup,
.init = tcf_pedit_init,
Expand Down

0 comments on commit 6a2b401

Please sign in to comment.