Skip to content

Commit

Permalink
net: sched: act_nat 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 11b9695 commit 0390514
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/sched/act_nat.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est,
return ret;
}

static int tcf_nat(struct sk_buff *skb, const struct tc_action *a,
struct tcf_result *res)
static int tcf_nat_act(struct sk_buff *skb, const struct tc_action *a,
struct tcf_result *res)
{
struct tcf_nat *p = to_tcf_nat(a);
struct iphdr *iph;
Expand Down Expand Up @@ -311,7 +311,7 @@ static struct tc_action_ops act_nat_ops = {
.kind = "nat",
.type = TCA_ACT_NAT,
.owner = THIS_MODULE,
.act = tcf_nat,
.act = tcf_nat_act,
.dump = tcf_nat_dump,
.init = tcf_nat_init,
.walk = tcf_nat_walker,
Expand Down

0 comments on commit 0390514

Please sign in to comment.