diff options
author | Jamal Hadi Salim <jhs@mojatatu.com> | 2018-08-12 09:35:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-13 12:06:17 -0400 |
commit | 7c5790c4da0e5b96b147d683c94ba3ed93e5f0fe (patch) | |
tree | 65553e04df1da674b3ff6e1584b9bddbafc56cc3 | |
parent | 8aa7f22e5649db6f994cda1212a37e7f8ae4e63e (diff) |
net: sched: act_mirred 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>
-rw-r--r-- | net/sched/act_mirred.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c index 327be257033d..8ec216001077 100644 --- a/net/sched/act_mirred.c +++ b/net/sched/act_mirred.c | |||
@@ -190,8 +190,8 @@ static int tcf_mirred_init(struct net *net, struct nlattr *nla, | |||
190 | return ret; | 190 | return ret; |
191 | } | 191 | } |
192 | 192 | ||
193 | static int tcf_mirred(struct sk_buff *skb, const struct tc_action *a, | 193 | static int tcf_mirred_act(struct sk_buff *skb, const struct tc_action *a, |
194 | struct tcf_result *res) | 194 | struct tcf_result *res) |
195 | { | 195 | { |
196 | struct tcf_mirred *m = to_mirred(a); | 196 | struct tcf_mirred *m = to_mirred(a); |
197 | struct sk_buff *skb2 = skb; | 197 | struct sk_buff *skb2 = skb; |
@@ -406,7 +406,7 @@ static struct tc_action_ops act_mirred_ops = { | |||
406 | .kind = "mirred", | 406 | .kind = "mirred", |
407 | .type = TCA_ACT_MIRRED, | 407 | .type = TCA_ACT_MIRRED, |
408 | .owner = THIS_MODULE, | 408 | .owner = THIS_MODULE, |
409 | .act = tcf_mirred, | 409 | .act = tcf_mirred_act, |
410 | .stats_update = tcf_stats_update, | 410 | .stats_update = tcf_stats_update, |
411 | .dump = tcf_mirred_dump, | 411 | .dump = tcf_mirred_dump, |
412 | .cleanup = tcf_mirred_release, | 412 | .cleanup = tcf_mirred_release, |