Переглянути джерело

net: sched: act_skbmod 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>
Jamal Hadi Salim 7 роки тому
батько
коміт
353d2c253f
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      net/sched/act_skbmod.c

+ 2 - 2
net/sched/act_skbmod.c

@@ -24,7 +24,7 @@ static unsigned int skbmod_net_id;
 static struct tc_action_ops act_skbmod_ops;
 static struct tc_action_ops act_skbmod_ops;
 
 
 #define MAX_EDIT_LEN ETH_HLEN
 #define MAX_EDIT_LEN ETH_HLEN
-static int tcf_skbmod_run(struct sk_buff *skb, const struct tc_action *a,
+static int tcf_skbmod_act(struct sk_buff *skb, const struct tc_action *a,
 			  struct tcf_result *res)
 			  struct tcf_result *res)
 {
 {
 	struct tcf_skbmod *d = to_skbmod(a);
 	struct tcf_skbmod *d = to_skbmod(a);
@@ -270,7 +270,7 @@ static struct tc_action_ops act_skbmod_ops = {
 	.kind		=	"skbmod",
 	.kind		=	"skbmod",
 	.type		=	TCA_ACT_SKBMOD,
 	.type		=	TCA_ACT_SKBMOD,
 	.owner		=	THIS_MODULE,
 	.owner		=	THIS_MODULE,
-	.act		=	tcf_skbmod_run,
+	.act		=	tcf_skbmod_act,
 	.dump		=	tcf_skbmod_dump,
 	.dump		=	tcf_skbmod_dump,
 	.init		=	tcf_skbmod_init,
 	.init		=	tcf_skbmod_init,
 	.cleanup	=	tcf_skbmod_cleanup,
 	.cleanup	=	tcf_skbmod_cleanup,