[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>
This commit is contained in:
committed by
David S. Miller
parent
eb328111ef
commit
9c1ea148ad
@@ -53,10 +53,10 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_SYSCTL
|
#ifdef CONFIG_SYSCTL
|
||||||
static struct ctl_table_header *brnf_sysctl_header;
|
static struct ctl_table_header *brnf_sysctl_header;
|
||||||
static int brnf_call_iptables = 1;
|
static int brnf_call_iptables __read_mostly = 1;
|
||||||
static int brnf_call_ip6tables = 1;
|
static int brnf_call_ip6tables __read_mostly = 1;
|
||||||
static int brnf_call_arptables = 1;
|
static int brnf_call_arptables __read_mostly = 1;
|
||||||
static int brnf_filter_vlan_tagged = 1;
|
static int brnf_filter_vlan_tagged __read_mostly = 1;
|
||||||
#else
|
#else
|
||||||
#define brnf_filter_vlan_tagged 1
|
#define brnf_filter_vlan_tagged 1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user