]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Move prior_in_flight collect to more robust place
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Wed, 5 Dec 2007 10:21:35 +0000 (02:21 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 5 Dec 2007 13:37:30 +0000 (05:37 -0800)
commit9d7d5e38703749cc3b726b701d6a7508a122e74c
tree275691a21b251220257fac8932f71e77dbafbbc4
parentf79d43cfb6fb36d3a785bd32031dc5b67432dc6b
[TCP]: Move prior_in_flight collect to more robust place

The previous location is after sacktag processing, which affects
counters tcp_packets_in_flight depends on. This may manifest as
wrong behavior if new SACK blocks are present and all is clear
for call to tcp_cong_avoid, which in the case of
tcp_reno_cong_avoid bails out early because it thinks that
TCP is not limited by cwnd.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c