diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-05 09:23:00 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 22:56:07 (GMT) |
commit | 1999414a4ece2b8cea3fb3c4dc8fe06796256269 (patch) | |
tree | 5f2e774691d05f043390ec8a310f411c99aa7a9e /net/ipv4/netfilter/nf_nat_standalone.c | |
parent | 41c5b317036fcb593d14b4dfd12e3318faf3af8a (diff) | |
download | linux-fsl-qoriq-1999414a4ece2b8cea3fb3c4dc8fe06796256269.tar.xz |
[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/nf_nat_standalone.c')
-rw-r--r-- | net/ipv4/netfilter/nf_nat_standalone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_nat_standalone.c b/net/ipv4/netfilter/nf_nat_standalone.c index 84172e9..a2b02f0 100644 --- a/net/ipv4/netfilter/nf_nat_standalone.c +++ b/net/ipv4/netfilter/nf_nat_standalone.c @@ -273,7 +273,7 @@ nf_nat_adjust(unsigned int hooknum, /* We must be after connection tracking and before packet filtering. */ -static struct nf_hook_ops nf_nat_ops[] = { +static struct nf_hook_ops nf_nat_ops[] __read_mostly = { /* Before packet filtering, change destination */ { .hook = nf_nat_in, |