mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
[TCP]: default congestion control menu
Change how default TCP congestion control is chosen. Don't just use last installed module, instead allow selection during configuration, and make sure and use the default regardless of load order. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5b7c714ec2
commit
3d2573f7eb
3 changed files with 47 additions and 6 deletions
|
@ -48,7 +48,7 @@ int tcp_register_congestion_control(struct tcp_congestion_ops *ca)
|
|||
printk(KERN_NOTICE "TCP %s already registered\n", ca->name);
|
||||
ret = -EEXIST;
|
||||
} else {
|
||||
list_add_rcu(&ca->list, &tcp_cong_list);
|
||||
list_add_tail_rcu(&ca->list, &tcp_cong_list);
|
||||
printk(KERN_INFO "TCP %s registered\n", ca->name);
|
||||
}
|
||||
spin_unlock(&tcp_cong_list_lock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue