]> err.no Git - linux-2.6/commit
[TCP] FRTO: remove unnecessary fackets/sacked_out recounting
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Sun, 27 May 2007 08:53:49 +0000 (01:53 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:47:53 +0000 (16:47 -0700)
commit9bff40fda015c4d0b57b444626cdcbf66066dbe7
treeeae9e6d12754dadfc4ad5f0b87e9de3b37ad252b
parent4ddf66769d2df868071420e2e0106746c6204ea3
[TCP] FRTO: remove unnecessary fackets/sacked_out recounting

F-RTO does not touch SACKED_ACKED bits at all, so there is no
need to recount them in tcp_enter_frto_loss. After removal of
the else branch, nested ifs can be combined.

This must also reset sacked_out when SACK is not in use as TCP
could have received some duplicate ACKs prior RTO. To achieve
that in a sane manner, tcp_reset_reno_sack was re-placed by the
previous patch.

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