[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:
committed by
David S. Miller
parent
5b7c714ec2
commit
3d2573f7eb
@@ -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);
|
||||
|
Reference in New Issue
Block a user