aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_highspeed.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-03-10 00:40:17 -0800
committerDavid S. Miller <davem@davemloft.net>2011-03-10 00:40:17 -0800
commita252bebe22155313ccdadc20b79f67a239dc9ecb (patch)
treed0563c42cfa57029e3020fdae5afb458c9673dae /net/ipv4/tcp_highspeed.c
parentipv4: Optimize flow initialization in fib_validate_source(). (diff)
downloadlinux-dev-a252bebe22155313ccdadc20b79f67a239dc9ecb.tar.xz
linux-dev-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_highspeed.c')
-rw-r--r--net/ipv4/tcp_highspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_highspeed.c b/net/ipv4/tcp_highspeed.c
index 8b6caaf75bb9..30f27f6b3655 100644
--- a/net/ipv4/tcp_highspeed.c
+++ b/net/ipv4/tcp_highspeed.c
@@ -158,7 +158,7 @@ static u32 hstcp_ssthresh(struct sock *sk)
}
-static struct tcp_congestion_ops tcp_highspeed = {
+static struct tcp_congestion_ops tcp_highspeed __read_mostly = {
.init = hstcp_init,
.ssthresh = hstcp_ssthresh,
.cong_avoid = hstcp_cong_avoid,