]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit00640b758ff1fb0e2d7a4cb4a9b86d4350707621
tree4e4d40f11bd44c9ef0ae2d9a8e07a4e07bd691b0
parentf541fb59888a594ad1f83a0a6bf818dbd80b4ec4
[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