net_sched: fix a regression in tc actions
[deliverable/linux.git] / net / sched / act_police.c
index 7b23ab07c6cc19bfb3d3fa0e028f50bbda3cdbc8..819a9a4d19871b2ecccdcd73962b73c7a68241b5 100644 (file)
@@ -396,7 +396,7 @@ static struct tc_action_ops act_police_ops = {
 static int __init
 police_init_module(void)
 {
-       int err = tcf_hashinfo_init(&police_hash_info, POL_TAB_MASK+1);
+       int err = tcf_hashinfo_init(&police_hash_info, POL_TAB_MASK);
        if (err)
                return err;
        err = tcf_register_action(&act_police_ops);
This page took 0.023736 seconds and 5 git commands to generate.