summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_vegas.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-03-10 09:40:17 +0100
committerDavid S. Miller <davem@davemloft.net>2011-03-10 09:40:17 +0100
commita252bebe22155313ccdadc20b79f67a239dc9ecb (patch)
treed0563c42cfa57029e3020fdae5afb458c9673dae /net/ipv4/tcp_vegas.c
parentipv4: Optimize flow initialization in fib_validate_source(). (diff)
downloadlinux-a252bebe22155313ccdadc20b79f67a239dc9ecb.tar.xz
linux-a252bebe22155313ccdadc20b79f67a239dc9ecb.zip
tcp: mark tcp_congestion_ops read_mostly
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_vegas.c')
-rw-r--r--net/ipv4/tcp_vegas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_vegas.c b/net/ipv4/tcp_vegas.c
index c6743eec9b7d..80fa2bfd7ede 100644
--- a/net/ipv4/tcp_vegas.c
+++ b/net/ipv4/tcp_vegas.c
@@ -304,7 +304,7 @@ void tcp_vegas_get_info(struct sock *sk, u32 ext, struct sk_buff *skb)
}
EXPORT_SYMBOL_GPL(tcp_vegas_get_info);
-static struct tcp_congestion_ops tcp_vegas = {
+static struct tcp_congestion_ops tcp_vegas __read_mostly = {
.flags = TCP_CONG_RTT_STAMP,
.init = tcp_vegas_init,
.ssthresh = tcp_reno_ssthresh,