change bridge sysctl tunables to __read_mostly
Subsystems (4)
PATCH 1/1 change bridge sysctl tunables to __read_mostly
Change some bridge sysctl tunables to __read_mostly.
Signed-off-by Brian Haley <[email protected]>
net/bridge/br_netfilter.c +4 -4
@@ -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
From: Brian Haley <[email protected]>
Date: Fri, 01 Sep 2006 11:31:43 -0400
Quoted 3 lines
Change some bridge sysctl tunables to
__read_mostly.Signed-off-by Brian Haley <[email protected]>
Applied, thanks.