[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)
commit52d3408150858a301a84bcbfe2f323d90d71d2ce
tree275691a21b251220257fac8932f71e77dbafbbc4
parent3e6f049e0c4cf0606207c1a210abf50b436e9adf
[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