mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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
@@ -201,7 +201,7 @@ static u32 tcp_veno_ssthresh(struct sock *sk)
|
||||
return max(tp->snd_cwnd >> 1U, 2U);
|
||||
}
|
||||
|
||||
static struct tcp_congestion_ops tcp_veno = {
|
||||
static struct tcp_congestion_ops tcp_veno __read_mostly = {
|
||||
.flags = TCP_CONG_RTT_STAMP,
|
||||
.init = tcp_veno_init,
|
||||
.ssthresh = tcp_veno_ssthresh,
|
||||
|
||||
Reference in New Issue
Block a user