[NETFILTER]: Explicitly initialize .priority in arptable_filter
authorJan Engelhardt <jengelh@computergmbh.de>
Mon, 14 Apr 2008 09:15:44 +0000 (11:15 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:44 +0000 (11:15 +0200)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/arptable_filter.c

index 9f6526c87757058bf15c47582931bf5617c2e1be..3be4d07e7ed9880a17d78a5476e240a1d1d40bf0 100644 (file)
@@ -70,18 +70,21 @@ static struct nf_hook_ops arpt_ops[] __read_mostly = {
                .owner          = THIS_MODULE,
                .pf             = NF_ARP,
                .hooknum        = NF_ARP_IN,
+               .priority       = NF_IP_PRI_FILTER,
        },
        {
                .hook           = arpt_hook,
                .owner          = THIS_MODULE,
                .pf             = NF_ARP,
                .hooknum        = NF_ARP_OUT,
+               .priority       = NF_IP_PRI_FILTER,
        },
        {
                .hook           = arpt_hook,
                .owner          = THIS_MODULE,
                .pf             = NF_ARP,
                .hooknum        = NF_ARP_FORWARD,
+               .priority       = NF_IP_PRI_FILTER,
        },
 };