]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[TCP]: Fix double adjustment of tp->{lost,left}_out in tcp_fragment().
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 11 Sep 2005 00:19:09 +0000 (17:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2005 00:19:09 +0000 (17:19 -0700)
commite130af5dab2abbf01c5d92ec5ac05912cf3d9aa7
tree5f2363252080f87c613bc3f565cfffe15904b1fa
parent2a0445158192246c421467320af0d2f45a98f02c
[TCP]: Fix double adjustment of tp->{lost,left}_out in tcp_fragment().

There is an extra left_out/lost_out adjustment in tcp_fragment which
means that the lost_out accounting is always wrong.  This patch removes
that chunk of code.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c