tcp: mark tcp_congestion_ops read_mostly

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Stephen Hemminger
2011-03-10 00:40:17 -08:00
committed by David S. Miller
parent cc7e17ea04
commit a252bebe22
12 changed files with 12 additions and 12 deletions

View File

@ -284,7 +284,7 @@ static void htcp_state(struct sock *sk, u8 new_state)
}
}
static struct tcp_congestion_ops htcp = {
static struct tcp_congestion_ops htcp __read_mostly = {
.init = htcp_init,
.ssthresh = htcp_recalc_ssthresh,
.cong_avoid = htcp_cong_avoid,