Skip to contentSkip to conversation

change sctp globals to __read_mostly

PATCH Applied Brian Haley 2 participants 2 messages Sep 1, 2006 – Sep 18, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 change sctp globals to __read_mostly

Change sctp globals to __read_mostly.

net/sctp/protocol.c +1 -1
index 5692ef5..d9dd4c4 100644
@@ -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;