diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-03-10 03:40:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-10 03:40:17 -0500 |
commit | a252bebe22155313ccdadc20b79f67a239dc9ecb (patch) | |
tree | d0563c42cfa57029e3020fdae5afb458c9673dae /net/ipv4/tcp_hybla.c | |
parent | cc7e17ea0427a5df319e43606a3d6c53b13a6e9c (diff) |
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_hybla.c')
-rw-r--r-- | net/ipv4/tcp_hybla.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_hybla.c b/net/ipv4/tcp_hybla.c index 377bc9349371..fe3ecf484b44 100644 --- a/net/ipv4/tcp_hybla.c +++ b/net/ipv4/tcp_hybla.c | |||
@@ -162,7 +162,7 @@ static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) | |||
162 | tp->snd_cwnd = min_t(u32, tp->snd_cwnd, tp->snd_cwnd_clamp); | 162 | tp->snd_cwnd = min_t(u32, tp->snd_cwnd, tp->snd_cwnd_clamp); |
163 | } | 163 | } |
164 | 164 | ||
165 | static struct tcp_congestion_ops tcp_hybla = { | 165 | static struct tcp_congestion_ops tcp_hybla __read_mostly = { |
166 | .init = hybla_init, | 166 | .init = hybla_init, |
167 | .ssthresh = tcp_reno_ssthresh, | 167 | .ssthresh = tcp_reno_ssthresh, |
168 | .min_cwnd = tcp_reno_min_cwnd, | 168 | .min_cwnd = tcp_reno_min_cwnd, |