summaryrefslogtreecommitdiff
path: root/net/sctp/protocol.c
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/protocol.c
parent9c1ea148ad8bb06538b43908891afedebeaf361b (diff)
downloadlwn-4cbf1cae9f08c76ed92700090a69a5b1f1f6a982.tar.gz
lwn-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;