[TCP] FRTO: Plug potential LOST-bit leak
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Wed, 14 Nov 2007 05:03:13 +0000 (21:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Nov 2007 05:03:13 +0000 (21:03 -0800)
commit23aeeec365dcf8bc87fae44c533e50d0bb4f23cc
treed4cbe2045d0e5c27492d184d77c2c2ed04995a75
parent746aa32d280084dbd520249170852e4616799928
[TCP] FRTO: Plug potential LOST-bit leak

It might be possible that, in some extreme scenario that
I just cannot now construct in my mind, end_seq <=
frto_highmark check does not match causing the lost_out
and LOST bits become out-of-sync due to clearing and
recounting in the loop.

This may fix LOST-bit leak reported by Chazarain Guillaume
<guichaz@yahoo.fr>.

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