Browse Source

[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>
Brian Haley 18 years ago
parent
commit
4cbf1cae9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/sctp/protocol.c

+ 1 - 1
net/sctp/protocol.c

@@ -61,7 +61,7 @@
 #include <net/inet_ecn.h>
 #include <net/inet_ecn.h>
 
 
 /* Global data structures. */
 /* Global data structures. */
-struct sctp_globals sctp_globals;
+struct sctp_globals sctp_globals __read_mostly;
 struct proc_dir_entry	*proc_net_sctp;
 struct proc_dir_entry	*proc_net_sctp;
 DEFINE_SNMP_STAT(struct sctp_mib, sctp_statistics) __read_mostly;
 DEFINE_SNMP_STAT(struct sctp_mib, sctp_statistics) __read_mostly;