aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_l3proto_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_l3proto_generic.c
parent[NETFILTER]: x_tables: add connlimit match (diff)
downloadlinux-dev-61075af51f252913401c41fbe94075b46c94e9f1.tar.xz
linux-dev-61075af51f252913401c41fbe94075b46c94e9f1.zip
[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_l3proto_generic.c')
-rw-r--r--net/netfilter/nf_conntrack_l3proto_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_l3proto_generic.c b/net/netfilter/nf_conntrack_l3proto_generic.c
index 0691642b7724..991c52c9a28b 100644
--- a/net/netfilter/nf_conntrack_l3proto_generic.c
+++ b/net/netfilter/nf_conntrack_l3proto_generic.c
@@ -69,7 +69,7 @@ static int generic_get_l4proto(const struct sk_buff *skb, unsigned int nhoff,
}
-struct nf_conntrack_l3proto nf_conntrack_l3proto_generic = {
+struct nf_conntrack_l3proto nf_conntrack_l3proto_generic __read_mostly = {
.l3proto = PF_UNSPEC,
.name = "unknown",
.pkt_to_tuple = generic_pkt_to_tuple,