Jelajahi Sumber

net: sched: act_sum 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 tahun lalu
induk
melakukan
c831549c3f
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      net/sched/act_csum.c

+ 3 - 3
net/sched/act_csum.c

@@ -555,8 +555,8 @@ fail:
 	return 0;
 	return 0;
 }
 }
 
 
-static int tcf_csum(struct sk_buff *skb, const struct tc_action *a,
-		    struct tcf_result *res)
+static int tcf_csum_act(struct sk_buff *skb, const struct tc_action *a,
+			struct tcf_result *res)
 {
 {
 	struct tcf_csum *p = to_tcf_csum(a);
 	struct tcf_csum *p = to_tcf_csum(a);
 	struct tcf_csum_params *params;
 	struct tcf_csum_params *params;
@@ -670,7 +670,7 @@ static struct tc_action_ops act_csum_ops = {
 	.kind		= "csum",
 	.kind		= "csum",
 	.type		= TCA_ACT_CSUM,
 	.type		= TCA_ACT_CSUM,
 	.owner		= THIS_MODULE,
 	.owner		= THIS_MODULE,
-	.act		= tcf_csum,
+	.act		= tcf_csum_act,
 	.dump		= tcf_csum_dump,
 	.dump		= tcf_csum_dump,
 	.init		= tcf_csum_init,
 	.init		= tcf_csum_init,
 	.cleanup	= tcf_csum_cleanup,
 	.cleanup	= tcf_csum_cleanup,