OSDN Git Service

[TCP]: No need to re-count fackets_out/sacked_out at RTO
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Fri, 12 Oct 2007 00:34:57 +0000 (17:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Oct 2007 00:34:57 +0000 (17:34 -0700)
commit4cd829995b86e0359796780d43d2f210cb5cf021
tree4e4d40f11bd44c9ef0ae2d9a8e07a4e07bd691b0
parentd193594299064d386a2705928cd61ab2ca3d7cee
[TCP]: No need to re-count fackets_out/sacked_out at RTO

Both sacked_out and fackets_out are directly known from how
parameter. Since fackets_out is accurate, there's no need for
recounting (sacked_out was previously unnecessarily counted
in the loop anyway).

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