aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_proto_generic.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-07-14 20:48:19 -0700
committerDavid S. Miller <davem@davemloft.net>2007-07-14 20:48:19 -0700
commit61075af51f252913401c41fbe94075b46c94e9f1 (patch)
treebf97f2a5ed93ed1767953b0ae8678d921ebc0473 /net/netfilter/nf_conntrack_proto_generic.c
parent370786f9cfd430cb424f00ce4110e75bb1b95a19 (diff)
downloadkernel_samsung_smdk4412-61075af51f252913401c41fbe94075b46c94e9f1.zip
kernel_samsung_smdk4412-61075af51f252913401c41fbe94075b46c94e9f1.tar.gz
kernel_samsung_smdk4412-61075af51f252913401c41fbe94075b46c94e9f1.tar.bz2
[NETFILTER]: nf_conntrack: mark protocols __read_mostly
Also remove two unnecessary EXPORT_SYMBOLs and move the nf_conntrack_l3proto_ipv4 declaration to the correct file. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_proto_generic.c')
-rw-r--r--net/netfilter/nf_conntrack_proto_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_proto_generic.c b/net/netfilter/nf_conntrack_proto_generic.c
index 6faf1be..d8b5018 100644
--- a/net/netfilter/nf_conntrack_proto_generic.c
+++ b/net/netfilter/nf_conntrack_proto_generic.c
@@ -98,7 +98,7 @@ static struct ctl_table generic_compat_sysctl_table[] = {
#endif /* CONFIG_NF_CONNTRACK_PROC_COMPAT */
#endif /* CONFIG_SYSCTL */
-struct nf_conntrack_l4proto nf_conntrack_l4proto_generic =
+struct nf_conntrack_l4proto nf_conntrack_l4proto_generic __read_mostly =
{
.l3proto = PF_UNSPEC,
.l4proto = 0,