[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>
This commit is contained in:
Patrick McHardy 2007-07-07 22:37:03 -07:00 коммит произвёл David S. Miller
Родитель b8a7fe6c10
Коммит ec59a1110a
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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)

Просмотреть файл

@ -166,8 +166,8 @@ out:
return ret;
}
static struct nf_conntrack_helper sane[MAX_PORTS][2];
static char sane_names[MAX_PORTS][2][sizeof("sane-65535")];
static struct nf_conntrack_helper sane[MAX_PORTS][2] __read_mostly;
static char sane_names[MAX_PORTS][2][sizeof("sane-65535")] __read_mostly;
/* don't make this __exit, since it's called from __init ! */
static void nf_conntrack_sane_fini(void)