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:
committed by
David S. Miller
parent
cc7e17ea04
commit
a252bebe22
@ -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,
|
||||
|
Reference in New Issue
Block a user