net: sched: act_simple 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>
This commit is contained in:
Родитель
2ac063474d
Коммит
798de374e5
|
@ -28,8 +28,8 @@ static unsigned int simp_net_id;
|
||||||
static struct tc_action_ops act_simp_ops;
|
static struct tc_action_ops act_simp_ops;
|
||||||
|
|
||||||
#define SIMP_MAX_DATA 32
|
#define SIMP_MAX_DATA 32
|
||||||
static int tcf_simp(struct sk_buff *skb, const struct tc_action *a,
|
static int tcf_simp_act(struct sk_buff *skb, const struct tc_action *a,
|
||||||
struct tcf_result *res)
|
struct tcf_result *res)
|
||||||
{
|
{
|
||||||
struct tcf_defact *d = to_defact(a);
|
struct tcf_defact *d = to_defact(a);
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ static struct tc_action_ops act_simp_ops = {
|
||||||
.kind = "simple",
|
.kind = "simple",
|
||||||
.type = TCA_ACT_SIMP,
|
.type = TCA_ACT_SIMP,
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.act = tcf_simp,
|
.act = tcf_simp_act,
|
||||||
.dump = tcf_simp_dump,
|
.dump = tcf_simp_dump,
|
||||||
.cleanup = tcf_simp_release,
|
.cleanup = tcf_simp_release,
|
||||||
.init = tcf_simp_init,
|
.init = tcf_simp_init,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче