diff options
author | 2006-11-29 02:35:04 +0100 | |
---|---|---|
committer | 2006-12-02 21:31:08 -0800 | |
commit | e2b7606cdb602a4f69c02cfc8bebe9c63b595e24 (patch) | |
tree | ca56dcbad9b5d3ca8b1f5626e6587b5aa3d168e4 /net/netfilter/nf_conntrack_helper.c | |
parent | [NETFILTER]: nf_conntrack: split out protocol handling (diff) | |
download | linux-e2b7606cdb602a4f69c02cfc8bebe9c63b595e24.tar.gz linux-e2b7606cdb602a4f69c02cfc8bebe9c63b595e24.tar.bz2 linux-e2b7606cdb602a4f69c02cfc8bebe9c63b595e24.zip |
[NETFILTER]: More __read_mostly annotations
Place rarely written variables in the read-mostly section by using
__read_mostly
Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_helper.c')
-rw-r--r-- | net/netfilter/nf_conntrack_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_helper.c b/net/netfilter/nf_conntrack_helper.c index ca044875a561..2af92204722b 100644 --- a/net/netfilter/nf_conntrack_helper.c +++ b/net/netfilter/nf_conntrack_helper.c @@ -30,7 +30,7 @@ #include <net/netfilter/nf_conntrack_helper.h> #include <net/netfilter/nf_conntrack_core.h> -static LIST_HEAD(helpers); +static __read_mostly LIST_HEAD(helpers); struct nf_conntrack_helper * __nf_ct_helper_find(const struct nf_conntrack_tuple *tuple) |