projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bb0362
)
[NETFILTER]: Explicitly initialize .priority in arptable_filter
author
Jan Engelhardt
<jengelh@computergmbh.de>
Mon, 14 Apr 2008 09:15:44 +0000
(11:15 +0200)
committer
Patrick 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
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/arptable_filter.c
b/net/ipv4/netfilter/arptable_filter.c
index 9f6526c87757058bf15c47582931bf5617c2e1be..3be4d07e7ed9880a17d78a5476e240a1d1d40bf0 100644
(file)
--- a/
net/ipv4/netfilter/arptable_filter.c
+++ b/
net/ipv4/netfilter/arptable_filter.c
@@
-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,
},
};