Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec59a111 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

[NETFILTER]: nf_conntrack: mark helpers __read_mostly



Most are __read_mostly already, this changes the remaining ones.

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b8a7fe6c
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -518,8 +518,8 @@ static int help(struct sk_buff **pskb,
	return ret;
	return ret;
}
}


static struct nf_conntrack_helper ftp[MAX_PORTS][2];
static struct nf_conntrack_helper ftp[MAX_PORTS][2] __read_mostly;
static char ftp_names[MAX_PORTS][2][sizeof("ftp-65535")];
static char ftp_names[MAX_PORTS][2][sizeof("ftp-65535")] __read_mostly;


/* don't make this __exit, since it's called from __init ! */
/* don't make this __exit, since it's called from __init ! */
static void nf_conntrack_ftp_fini(void)
static void nf_conntrack_ftp_fini(void)
+2 −2
Original line number Original line Diff line number Diff line
@@ -166,8 +166,8 @@ static int help(struct sk_buff **pskb,
	return ret;
	return ret;
}
}


static struct nf_conntrack_helper sane[MAX_PORTS][2];
static struct nf_conntrack_helper sane[MAX_PORTS][2] __read_mostly;
static char sane_names[MAX_PORTS][2][sizeof("sane-65535")];
static char sane_names[MAX_PORTS][2][sizeof("sane-65535")] __read_mostly;


/* don't make this __exit, since it's called from __init ! */
/* don't make this __exit, since it's called from __init ! */
static void nf_conntrack_sane_fini(void)
static void nf_conntrack_sane_fini(void)