Skip to contentSkip to conversation

change bridge sysctl tunables to __read_mostly

PATCH Applied Brian Haley 2 participants 2 messages Sep 1, 2006 – Sep 18, 2006

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 change bridge sysctl tunables to __read_mostly

Change some bridge sysctl tunables to __read_mostly.

net/bridge/br_netfilter.c +4 -4
index cf80dd0..ac181be 100644
@@ -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