projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c1ea14
)
[SCTP]: Change globals to __read_mostly
author
Brian Haley
<brian.haley@hp.com>
Mon, 18 Sep 2006 07:04:22 +0000
(
00:04
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:53 +0000
(15:18 -0700)
Change sctp globals to __read_mostly.
Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c
patch
|
blob
|
history
diff --git
a/net/sctp/protocol.c
b/net/sctp/protocol.c
index
5692ef5
..
d9dd4c4
100644
(file)
--- 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;