aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/ip6table_raw.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/ipv6/netfilter/ip6table_raw.c
parent[NETFILTER]: Use nf_register_hooks for multiple registrations (diff)
downloadlinux-dev-1999414a4ece2b8cea3fb3c4dc8fe06796256269.tar.xz
linux-dev-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 '')
-rw-r--r--net/ipv6/netfilter/ip6table_raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6table_raw.c b/net/ipv6/netfilter/ip6table_raw.c
index 4fecd8de8cc2..eccbaaa104af 100644
--- a/net/ipv6/netfilter/ip6table_raw.c
+++ b/net/ipv6/netfilter/ip6table_raw.c
@@ -54,7 +54,7 @@ ip6t_hook(unsigned int hook,
return ip6t_do_table(skb, hook, in, out, &packet_raw);
}
-static struct nf_hook_ops ip6t_ops[] = {
+static struct nf_hook_ops ip6t_ops[] __read_mostly = {
{
.hook = ip6t_hook,
.pf = PF_INET6,