mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
[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:
parent
eb328111ef
commit
9c1ea148ad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user