diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2006-11-29 01:35:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 05:31:08 (GMT) |
commit | e2b7606cdb602a4f69c02cfc8bebe9c63b595e24 (patch) | |
tree | ca56dcbad9b5d3ca8b1f5626e6587b5aa3d168e4 /net/netfilter/nf_conntrack_helper.c | |
parent | 8f03dea52b1d0227656319e1b0822628b43791a8 (diff) | |
download | linux-e2b7606cdb602a4f69c02cfc8bebe9c63b595e24.tar.xz |
[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 ca04487..2af9220 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) |