diff options
author | Patrick McHardy <kaber@trash.net> | 2007-07-07 22:37:03 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-10 22:18:14 -0700 |
commit | ec59a1110aee6846adada8979915cacae64042ce (patch) | |
tree | b4a19d1a84fd0f46e2f1f112f27ea716d819ff29 /net/netfilter/nf_conntrack_ftp.c | |
parent | b8a7fe6c10511fce10b20efa163123f4041f2550 (diff) | |
download | linux-stable-ec59a1110aee6846adada8979915cacae64042ce.tar.gz linux-stable-ec59a1110aee6846adada8979915cacae64042ce.tar.bz2 linux-stable-ec59a1110aee6846adada8979915cacae64042ce.zip |
[NETFILTER]: nf_conntrack: mark helpers __read_mostly
Most are __read_mostly already, this changes the remaining ones.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_ftp.c')
-rw-r--r-- | net/netfilter/nf_conntrack_ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_ftp.c b/net/netfilter/nf_conntrack_ftp.c index 198330b8ada4..cd9c2d00cc09 100644 --- a/net/netfilter/nf_conntrack_ftp.c +++ b/net/netfilter/nf_conntrack_ftp.c @@ -518,8 +518,8 @@ out_update_nl: return ret; } -static struct nf_conntrack_helper ftp[MAX_PORTS][2]; -static char ftp_names[MAX_PORTS][2][sizeof("ftp-65535")]; +static struct nf_conntrack_helper ftp[MAX_PORTS][2] __read_mostly; +static char ftp_names[MAX_PORTS][2][sizeof("ftp-65535")] __read_mostly; /* don't make this __exit, since it's called from __init ! */ static void nf_conntrack_ftp_fini(void) |