summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorBrian Haley <brian.haley@hp.com>2006-09-18 00:04:22 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:18:53 -0700
commit4cbf1cae9f08c76ed92700090a69a5b1f1f6a982 (patch)
tree7cda551330ef83303a459a51cec3bca5e4bdeb0f /net/sctp
parent9c1ea148ad8bb06538b43908891afedebeaf361b (diff)
downloadop-kernel-dev-4cbf1cae9f08c76ed92700090a69a5b1f1f6a982.zip
op-kernel-dev-4cbf1cae9f08c76ed92700090a69a5b1f1f6a982.tar.gz
[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')
-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 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;
OpenPOWER on IntegriCloud