diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-03-10 00:40:17 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-10 00:40:17 -0800 |
commit | a252bebe22155313ccdadc20b79f67a239dc9ecb (patch) | |
tree | d0563c42cfa57029e3020fdae5afb458c9673dae /net/ipv4/tcp_cubic.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_cubic.c')
-rw-r--r-- | net/ipv4/tcp_cubic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_cubic.c b/net/ipv4/tcp_cubic.c index 71d5f2f29fa6..62f775cb0863 100644 --- a/net/ipv4/tcp_cubic.c +++ b/net/ipv4/tcp_cubic.c @@ -405,7 +405,7 @@ static void bictcp_acked(struct sock *sk, u32 cnt, s32 rtt_us) hystart_update(sk, delay); } -static struct tcp_congestion_ops cubictcp = { +static struct tcp_congestion_ops cubictcp __read_mostly = { .init = bictcp_init, .ssthresh = bictcp_recalc_ssthresh, .cong_avoid = bictcp_cong_avoid, |