Commit 0390514f authored by Jamal Hadi Salim's avatar Jamal Hadi Salim Committed by David S. Miller

net: sched: act_nat method rename for grep-ability and consistency

Signed-off-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 11b9695b
...@@ -93,8 +93,8 @@ static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est, ...@@ -93,8 +93,8 @@ static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est,
return ret; return ret;
} }
static int tcf_nat(struct sk_buff *skb, const struct tc_action *a, static int tcf_nat_act(struct sk_buff *skb, const struct tc_action *a,
struct tcf_result *res) struct tcf_result *res)
{ {
struct tcf_nat *p = to_tcf_nat(a); struct tcf_nat *p = to_tcf_nat(a);
struct iphdr *iph; struct iphdr *iph;
...@@ -311,7 +311,7 @@ static struct tc_action_ops act_nat_ops = { ...@@ -311,7 +311,7 @@ static struct tc_action_ops act_nat_ops = {
.kind = "nat", .kind = "nat",
.type = TCA_ACT_NAT, .type = TCA_ACT_NAT,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.act = tcf_nat, .act = tcf_nat_act,
.dump = tcf_nat_dump, .dump = tcf_nat_dump,
.init = tcf_nat_init, .init = tcf_nat_init,
.walk = tcf_nat_walker, .walk = tcf_nat_walker,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment