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
|
@ -405,7 +405,7 @@ static void bictcp_acked(struct sock *sk, u32 cnt, s32 rtt_us)
|
|||
hystart_update(sk, delay);
|
||||
}
|
||||
|
||||
static struct tcp_congestion_ops cubictcp = {
|
||||
static struct tcp_congestion_ops cubictcp __read_mostly = {
|
||||
.init = bictcp_init,
|
||||
.ssthresh = bictcp_recalc_ssthresh,
|
||||
.cong_avoid = bictcp_cong_avoid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue