]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: refactor setting the initial congestion window
authorYuchung Cheng <ycheng@google.com>
Mon, 29 Apr 2019 22:46:20 +0000 (15:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 15:47:54 +0000 (11:47 -0400)
commit3394587f13eca443d5c32fbecce5e826c3b58278
tree0d8c0ce941e0e6441fb61631d1680b29b0c9eaf7
parent8454e86529cb73b47638f5de1625675aed8368c9
tcp: refactor setting the initial congestion window

Relocate the congestion window initialization from tcp_init_metrics()
to tcp_init_transfer() to improve code readability.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_metrics.c