File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,9 @@ static const struct nla_policy police_policy[TCA_POLICE_MAX + 1] = {
115
115
[TCA_POLICE_RESULT ] = { .type = NLA_U32 },
116
116
};
117
117
118
- static int tcf_act_police_locate (struct net * net , struct nlattr * nla ,
119
- struct nlattr * est , struct tc_action * a ,
120
- int ovr , int bind )
118
+ static int tcf_act_police_init (struct net * net , struct nlattr * nla ,
119
+ struct nlattr * est , struct tc_action * a ,
120
+ int ovr , int bind )
121
121
{
122
122
int ret = 0 , err ;
123
123
struct nlattr * tb [TCA_POLICE_MAX + 1 ];
@@ -366,7 +366,7 @@ static struct tc_action_ops act_police_ops = {
366
366
.owner = THIS_MODULE ,
367
367
.act = tcf_act_police ,
368
368
.dump = tcf_act_police_dump ,
369
- .init = tcf_act_police_locate ,
369
+ .init = tcf_act_police_init ,
370
370
.walk = tcf_act_police_walker ,
371
371
.lookup = tcf_police_search ,
372
372
};
You can’t perform that action at this time.
0 commit comments