diff options
| author | Stephen Hemminger <[email protected]> | 2011-03-10 08:40:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-03-10 08:40:17 +0000 |
| commit | a252bebe22155313ccdadc20b79f67a239dc9ecb (patch) | |
| tree | d0563c42cfa57029e3020fdae5afb458c9673dae /net/ipv4/tcp_lp.c | |
| parent | ipv4: Optimize flow initialization in fib_validate_source(). (diff) | |
| download | kernel-a252bebe22155313ccdadc20b79f67a239dc9ecb.tar.gz kernel-a252bebe22155313ccdadc20b79f67a239dc9ecb.zip | |
tcp: mark tcp_congestion_ops read_mostly
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_lp.c')
| -rw-r--r-- | net/ipv4/tcp_lp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_lp.c b/net/ipv4/tcp_lp.c index de870377fbba..656d431c99ad 100644 --- a/net/ipv4/tcp_lp.c +++ b/net/ipv4/tcp_lp.c @@ -313,7 +313,7 @@ static void tcp_lp_pkts_acked(struct sock *sk, u32 num_acked, s32 rtt_us) lp->last_drop = tcp_time_stamp; } -static struct tcp_congestion_ops tcp_lp = { +static struct tcp_congestion_ops tcp_lp __read_mostly = { .flags = TCP_CONG_RTT_STAMP, .init = tcp_lp_init, .ssthresh = tcp_reno_ssthresh, |
