mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +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:
parent
cc7e17ea04
commit
a252bebe22
12 changed files with 12 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue