mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[TCP]: Add pluggable congestion control algorithm infrastructure.
Allow TCP to have multiple pluggable congestion control algorithms. Algorithms are defined by a set of operations and can be built in or modules. The legacy "new RENO" algorithm is used as a starting point and fallback. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a8ad86f2dc
commit
317a76f9a4
13 changed files with 399 additions and 999 deletions
|
@ -2333,6 +2333,8 @@ void __init tcp_init(void)
|
|||
printk(KERN_INFO "TCP: Hash tables configured "
|
||||
"(established %d bind %d)\n",
|
||||
tcp_ehash_size << 1, tcp_bhash_size);
|
||||
|
||||
tcp_register_congestion_control(&tcp_reno);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(tcp_accept);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue