mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +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
|
@ -225,7 +225,7 @@ static u32 tcp_yeah_ssthresh(struct sock *sk) {
|
|||
return tp->snd_cwnd - reduction;
|
||||
}
|
||||
|
||||
static struct tcp_congestion_ops tcp_yeah = {
|
||||
static struct tcp_congestion_ops tcp_yeah __read_mostly = {
|
||||
.flags = TCP_CONG_RTT_STAMP,
|
||||
.init = tcp_yeah_init,
|
||||
.ssthresh = tcp_yeah_ssthresh,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue