Skip to content

Commit

Permalink
[BRIDGE]: Change sysctl tunables to __read_mostly
Browse files Browse the repository at this point in the history
Change some bridge sysctl tunables to __read_mostly.

Signed-off-by: Brian Haley <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Brian Haley authored and David S. Miller committed Sep 22, 2006
1 parent eb32811 commit 9c1ea14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions net/bridge/br_netfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c1ea14

Please sign in to comment.