aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipvs
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-12-05 04:23:00 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:07 -0500
commit1999414a4ece2b8cea3fb3c4dc8fe06796256269 (patch)
tree5f2e774691d05f043390ec8a310f411c99aa7a9e /net/ipv4/ipvs
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/ipv4/ipvs')
-rw-r--r--net/ipv4/ipvs/ip_vs_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_core.c b/net/ipv4/ipvs/ip_vs_core.c
index f5ba606f0549..041f5120808a 100644
--- a/net/ipv4/ipvs/ip_vs_core.c
+++ b/net/ipv4/ipvs/ip_vs_core.c
@@ -1025,7 +1025,7 @@ ip_vs_forward_icmp(unsigned int hooknum, struct sk_buff *skb,
1025} 1025}
1026 1026
1027 1027
1028static struct nf_hook_ops ip_vs_ops[] = { 1028static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
1029 /* After packet filtering, forward packet through VS/DR, VS/TUN, 1029 /* After packet filtering, forward packet through VS/DR, VS/TUN,
1030 * or VS/NAT(change destination), so that filtering rules can be 1030 * or VS/NAT(change destination), so that filtering rules can be
1031 * applied to IPVS. */ 1031 * applied to IPVS. */