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
@@ -162,7 +162,7 @@ static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 in_flight)
|
||||
tp->snd_cwnd = min_t(u32, tp->snd_cwnd, tp->snd_cwnd_clamp);
|
||||
}
|
||||
|
||||
static struct tcp_congestion_ops tcp_hybla = {
|
||||
static struct tcp_congestion_ops tcp_hybla __read_mostly = {
|
||||
.init = hybla_init,
|
||||
.ssthresh = tcp_reno_ssthresh,
|
||||
.min_cwnd = tcp_reno_min_cwnd,
|
||||
|
||||
Reference in New Issue
Block a user