]> 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)
commitdf38258ab4c6613aaaede2566cef8e2e960f18a2
tree0d8c0ce941e0e6441fb61631d1680b29b0c9eaf7
parent1ae668609037ff90fdb4acad88e8b0064cc6e833
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