diff options
-rw-r--r-- | net/ipv4/tcp.c | 2 | ||||
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 18a09a78ca0b..bb9d91a7662f 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -297,7 +297,7 @@ EXPORT_SYMBOL(tcp_sockets_allocated); | |||
297 | * All the sk_stream_mem_schedule() is of this nature: accounting | 297 | * All the sk_stream_mem_schedule() is of this nature: accounting |
298 | * is strict, actions are advisory and have some latency. | 298 | * is strict, actions are advisory and have some latency. |
299 | */ | 299 | */ |
300 | int tcp_memory_pressure; | 300 | int tcp_memory_pressure __read_mostly; |
301 | 301 | ||
302 | EXPORT_SYMBOL(tcp_memory_pressure); | 302 | EXPORT_SYMBOL(tcp_memory_pressure); |
303 | 303 | ||
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 617a5e4ca010..e11eaf4cc269 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -88,7 +88,7 @@ int sysctl_tcp_low_latency __read_mostly; | |||
88 | #define ICMP_MIN_LENGTH 8 | 88 | #define ICMP_MIN_LENGTH 8 |
89 | 89 | ||
90 | /* Socket used for sending RSTs */ | 90 | /* Socket used for sending RSTs */ |
91 | static struct socket *tcp_socket; | 91 | static struct socket *tcp_socket __read_mostly; |
92 | 92 | ||
93 | void tcp_v4_send_check(struct sock *sk, int len, struct sk_buff *skb); | 93 | void tcp_v4_send_check(struct sock *sk, int len, struct sk_buff *skb); |
94 | 94 | ||