diff options
author | David S. Miller <davem@davemloft.net> | 2018-08-13 09:06:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-13 09:06:22 -0700 |
commit | a72ce9ad7cfc96e640122b2821f6bbc3588815b2 (patch) | |
tree | 65553e04df1da674b3ff6e1584b9bddbafc56cc3 /net/sched/act_csum.c | |
parent | 9af18e56d43ca4864ce65c3542c513827c2697de (diff) | |
parent | 7c5790c4da0e5b96b147d683c94ba3ed93e5f0fe (diff) | |
download | blackbird-op-linux-a72ce9ad7cfc96e640122b2821f6bbc3588815b2.tar.gz blackbird-op-linux-a72ce9ad7cfc96e640122b2821f6bbc3588815b2.zip |
Merge branch 'net-sched-actions-rename-for-grep-ability-and-consistency'
Jamal Hadi Salim says:
====================
net: sched: actions rename for grep-ability and consistency
Having a structure (example tcf_mirred) and a function with the same name is
not good for readability or grepability.
This long overdue patchset improves it and make sure there is consistency
across all actions
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_csum.c')
-rw-r--r-- | net/sched/act_csum.c | 6 |
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, |