diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-03-10 09:40:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-10 09:40:17 +0100 |
commit | a252bebe22155313ccdadc20b79f67a239dc9ecb (patch) | |
tree | d0563c42cfa57029e3020fdae5afb458c9673dae /net/ipv4/tcp_scalable.c | |
parent | ipv4: Optimize flow initialization in fib_validate_source(). (diff) | |
download | linux-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_scalable.c')
-rw-r--r-- | net/ipv4/tcp_scalable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_scalable.c b/net/ipv4/tcp_scalable.c index a76513779e2b..8ce55b8aaec8 100644 --- a/net/ipv4/tcp_scalable.c +++ b/net/ipv4/tcp_scalable.c @@ -35,7 +35,7 @@ static u32 tcp_scalable_ssthresh(struct sock *sk) } -static struct tcp_congestion_ops tcp_scalable = { +static struct tcp_congestion_ops tcp_scalable __read_mostly = { .ssthresh = tcp_scalable_ssthresh, .cong_avoid = tcp_scalable_cong_avoid, .min_cwnd = tcp_reno_min_cwnd, |