summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/iptable_raw.c
diff options
context:
space:
mode:
authorPatrick McHardy2007-12-05 10:23:00 +0100
committerDavid S. Miller2008-01-28 23:56:07 +0100
commit1999414a4ece2b8cea3fb3c4dc8fe06796256269 (patch)
tree5f2e774691d05f043390ec8a310f411c99aa7a9e /net/ipv4/netfilter/iptable_raw.c
parent[NETFILTER]: Use nf_register_hooks for multiple registrations (diff)
downloadkernel-qcow2-linux-1999414a4ece2b8cea3fb3c4dc8fe06796256269.tar.gz
kernel-qcow2-linux-1999414a4ece2b8cea3fb3c4dc8fe06796256269.tar.xz
kernel-qcow2-linux-1999414a4ece2b8cea3fb3c4dc8fe06796256269.zip
[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/ipv4/netfilter/iptable_raw.c')
-rw-r--r--net/ipv4/netfilter/iptable_raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/iptable_raw.c b/net/ipv4/netfilter/iptable_raw.c
index 66be23295594..dc34aa274533 100644
--- a/net/ipv4/netfilter/iptable_raw.c
+++ b/net/ipv4/netfilter/iptable_raw.c
@@ -74,7 +74,7 @@ ipt_local_hook(unsigned int hook,
}
/* 'raw' is the very first table. */
-static struct nf_hook_ops ipt_ops[] = {
+static struct nf_hook_ops ipt_ops[] __read_mostly = {
{
.hook = ipt_hook,
.pf = PF_INET,