summaryrefslogtreecommitdiffstats
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
authorBrian Haley2006-09-18 09:04:22 +0200
committerDavid S. Miller2006-09-23 00:18:53 +0200
commit4cbf1cae9f08c76ed92700090a69a5b1f1f6a982 (patch)
tree7cda551330ef83303a459a51cec3bca5e4bdeb0f /net/sctp/protocol.c
parent[BRIDGE]: Change sysctl tunables to __read_mostly (diff)
downloadkernel-qcow2-linux-4cbf1cae9f08c76ed92700090a69a5b1f1f6a982.tar.gz
kernel-qcow2-linux-4cbf1cae9f08c76ed92700090a69a5b1f1f6a982.tar.xz
kernel-qcow2-linux-4cbf1cae9f08c76ed92700090a69a5b1f1f6a982.zip
[SCTP]: Change globals to __read_mostly
Change sctp globals to __read_mostly. Signed-off-by: Brian Haley <brian.haley@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r--net/sctp/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index 5692ef5485d3..d9dd4c47bc29 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -61,7 +61,7 @@
#include <net/inet_ecn.h>
/* Global data structures. */
-struct sctp_globals sctp_globals;
+struct sctp_globals sctp_globals __read_mostly;
struct proc_dir_entry *proc_net_sctp;
DEFINE_SNMP_STAT(struct sctp_mib, sctp_statistics) __read_mostly;