Skip to content

Commit

Permalink
[SCTP]: Change globals to __read_mostly
Browse files Browse the repository at this point in the history
Change sctp globals to __read_mostly.

Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Brian Haley authored and David S. Miller committed Sep 22, 2006
1 parent 9c1ea14 commit 4cbf1ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sctp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4cbf1ca

Please sign in to comment.