aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_helper.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-07-07 22:27:06 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-10 22:17:38 -0700
commit61eb3107cd8e0302f95aae26206e552365daf290 (patch)
tree611a85cac1cb7540944b7e1779cb4f4ab846cf69 /net/netfilter/nf_conntrack_helper.c
parent[NETFILTER]: nf_nat: merge nf_conn and nf_nat_info (diff)
downloadlinux-dev-61eb3107cd8e0302f95aae26206e552365daf290.tar.xz
linux-dev-61eb3107cd8e0302f95aae26206e552365daf290.zip
[NETFILTER]: nf_conntrack_extend: use __read_mostly for struct nf_ct_ext_type
Also make them static. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_helper.c')
-rw-r--r--net/netfilter/nf_conntrack_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_helper.c b/net/netfilter/nf_conntrack_helper.c
index 6d32399d64e1..dc352f509477 100644
--- a/net/netfilter/nf_conntrack_helper.c
+++ b/net/netfilter/nf_conntrack_helper.c
@@ -145,7 +145,7 @@ void nf_conntrack_helper_unregister(struct nf_conntrack_helper *me)
}
EXPORT_SYMBOL_GPL(nf_conntrack_helper_unregister);
-struct nf_ct_ext_type helper_extend = {
+static struct nf_ct_ext_type helper_extend __read_mostly = {
.len = sizeof(struct nf_conn_help),
.align = __alignof__(struct nf_conn_help),
.id = NF_CT_EXT_HELPER,