summaryrefslogtreecommitdiff
path: root/net/bridge/netfilter/ebtable_nat.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-12-05 01:23:00 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:56:07 -0800
commit1999414a4ece2b8cea3fb3c4dc8fe06796256269 (patch)
tree5f2e774691d05f043390ec8a310f411c99aa7a9e /net/bridge/netfilter/ebtable_nat.c
parent41c5b317036fcb593d14b4dfd12e3318faf3af8a (diff)
[NETFILTER]: Mark hooks __read_mostly
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/netfilter/ebtable_nat.c')
-rw-r--r--net/bridge/netfilter/ebtable_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebtable_nat.c b/net/bridge/netfilter/ebtable_nat.c
index 3e58c2e5ee21..bc712730c54a 100644
--- a/net/bridge/netfilter/ebtable_nat.c
+++ b/net/bridge/netfilter/ebtable_nat.c
@@ -74,7 +74,7 @@ ebt_nat_src(unsigned int hook, struct sk_buff *skb, const struct net_device *in
return ebt_do_table(hook, skb, in, out, &frame_nat);
}
-static struct nf_hook_ops ebt_ops_nat[] = {
+static struct nf_hook_ops ebt_ops_nat[] __read_mostly = {
{
.hook = ebt_nat_dst,
.owner = THIS_MODULE,