Subject: [PATCH] change sctp globals to __read_mostly

From: Brian Haley <[email-masked]>
Date: Fri, 01 Sep 2006 11:31:52 -0400

Change sctp globals to __read_mostly.

Signed-off-by: Brian Haley <[email-masked]>
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index 5692ef5..d9dd4c4 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;