summaryrefslogtreecommitdiffstats
path: root/net/sched/act_csum.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <jhs@mojatatu.com>2018-08-12 15:34:51 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-13 18:06:16 +0200
commitc831549c3f53537e3b8a205c5d67cbc16c054f6a (patch)
tree14e66f4eb26011fb9c10ac96acd9cdad9cd020eb /net/sched/act_csum.c
parentnet: sched: act_bpf method rename for grep-ability and consistency (diff)
downloadlinux-c831549c3f53537e3b8a205c5d67cbc16c054f6a.tar.xz
linux-c831549c3f53537e3b8a205c5d67cbc16c054f6a.zip
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>
Diffstat (limited to 'net/sched/act_csum.c')
-rw-r--r--net/sched/act_csum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/act_csum.c b/net/sched/act_csum.c
index f01c59ba6d12..5596fae4e478 100644
--- a/net/sched/act_csum.c
+++ b/net/sched/act_csum.c
@@ -555,8 +555,8 @@ fail:
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_params *params;
@@ -670,7 +670,7 @@ static struct tc_action_ops act_csum_ops = {
.kind = "csum",
.type = TCA_ACT_CSUM,
.owner = THIS_MODULE,
- .act = tcf_csum,
+ .act = tcf_csum_act,
.dump = tcf_csum_dump,
.init = tcf_csum_init,
.cleanup = tcf_csum_cleanup,