diff options
author | Brian Haley <brian.haley@hp.com> | 2006-09-18 00:03:41 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 15:18:52 -0700 |
commit | 9c1ea148ad8bb06538b43908891afedebeaf361b (patch) | |
tree | 88afcb61bc3dbdaabca6126901df45a2bf7ebe19 /net/bridge | |
parent | eb328111efde7bca782f340fe805756039ec6a0c (diff) | |
download | op-kernel-dev-9c1ea148ad8bb06538b43908891afedebeaf361b.zip op-kernel-dev-9c1ea148ad8bb06538b43908891afedebeaf361b.tar.gz |
[BRIDGE]: Change sysctl tunables to __read_mostly
Change some bridge sysctl tunables to __read_mostly.
Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_netfilter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index cf80dd0..ac181be 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c @@ -53,10 +53,10 @@ #ifdef CONFIG_SYSCTL static struct ctl_table_header *brnf_sysctl_header; -static int brnf_call_iptables = 1; -static int brnf_call_ip6tables = 1; -static int brnf_call_arptables = 1; -static int brnf_filter_vlan_tagged = 1; +static int brnf_call_iptables __read_mostly = 1; +static int brnf_call_ip6tables __read_mostly = 1; +static int brnf_call_arptables __read_mostly = 1; +static int brnf_filter_vlan_tagged __read_mostly = 1; #else #define brnf_filter_vlan_tagged 1 #endif |