]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[TCP]: Add bytes_acked (ABC) clearing to FRTO too
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Fri, 12 Oct 2007 00:32:31 +0000 (17:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Oct 2007 00:32:31 +0000 (17:32 -0700)
commit16e906812f885cf16d95577dba260db6375ba571
treeaddc7dc23792f74d2b5105197e51aa88cbe6a0fb
parent4953f0fcc06a125f87874743d968c0e185c8b296
[TCP]: Add bytes_acked (ABC) clearing to FRTO too

I was reading tcp_enter_loss while looking for Cedric's bug and
noticed bytes_acked adjustment is missing from FRTO side.

Since bytes_acked will only be used in tcp_cong_avoid, I think
it's safe to assume RTO would be spurious. During FRTO cwnd
will be not controlled by tcp_cong_avoid and if FRTO calls for
conventional recovery, cwnd is adjusted and the result of wrong
assumption is cleared from bytes_acked. If RTO was in fact
spurious, we did normal ABC already and can continue without
any additional adjustments.

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