提交 4cbf1cae 编写于 作者: B Brian Haley 提交者: David S. Miller

[SCTP]: Change globals to __read_mostly

Change sctp globals to __read_mostly.
Signed-off-by: NBrian Haley <brian.haley@hp.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9c1ea148
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册