netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] change bridge sysctl tunables to __read_mostly
@ 2006-09-01 15:31 Brian Haley
  2006-09-18  7:03 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Haley @ 2006-09-01 15:31 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]

Change some bridge sysctl tunables to __read_mostly.

Signed-off-by: Brian Haley <brian.haley@hp.com>

[-- Attachment #2: bridge.patch --]
[-- Type: text/x-patch, Size: 666 bytes --]

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] change bridge sysctl tunables to __read_mostly
  2006-09-01 15:31 [PATCH] change bridge sysctl tunables to __read_mostly Brian Haley
@ 2006-09-18  7:03 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-09-18  7:03 UTC (permalink / raw)
  To: brian.haley; +Cc: netdev

From: Brian Haley <brian.haley@hp.com>
Date: Fri, 01 Sep 2006 11:31:43 -0400

> Change some bridge sysctl tunables to __read_mostly.
> 
> Signed-off-by: Brian Haley <brian.haley@hp.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-18  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-01 15:31 [PATCH] change bridge sysctl tunables to __read_mostly Brian Haley
2006-09-18  7:03 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).