diff options
author | Patrick McHardy | 2007-07-08 07:27:06 +0200 |
---|---|---|
committer | David S. Miller | 2007-07-11 07:17:38 +0200 |
commit | 61eb3107cd8e0302f95aae26206e552365daf290 (patch) | |
tree | 611a85cac1cb7540944b7e1779cb4f4ab846cf69 /net/ipv4/netfilter/nf_nat_core.c | |
parent | [NETFILTER]: nf_nat: merge nf_conn and nf_nat_info (diff) | |
download | kernel-qcow2-linux-61eb3107cd8e0302f95aae26206e552365daf290.tar.gz kernel-qcow2-linux-61eb3107cd8e0302f95aae26206e552365daf290.tar.xz kernel-qcow2-linux-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/ipv4/netfilter/nf_nat_core.c')
-rw-r--r-- | net/ipv4/netfilter/nf_nat_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_nat_core.c b/net/ipv4/netfilter/nf_nat_core.c index 7e31777082de..04691edf50c2 100644 --- a/net/ipv4/netfilter/nf_nat_core.c +++ b/net/ipv4/netfilter/nf_nat_core.c @@ -623,7 +623,7 @@ static void nf_nat_move_storage(struct nf_conn *conntrack, void *old) write_unlock_bh(&nf_nat_lock); } -struct nf_ct_ext_type nat_extend = { +static struct nf_ct_ext_type nat_extend __read_mostly = { .len = sizeof(struct nf_conn_nat), .align = __alignof__(struct nf_conn_nat), .destroy = nf_nat_cleanup_conntrack, |