Commit 9c1ea148 authored by Brian Haley's avatar Brian Haley Committed by David S. Miller

[BRIDGE]: Change sysctl tunables to __read_mostly

Change some bridge sysctl tunables to __read_mostly.
Signed-off-by: default avatarBrian Haley <brian.haley@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent eb328111
...@@ -53,10 +53,10 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment