tcp: sack lost marking fixes
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 14 Oct 2010 01:42:30 +0000 (01:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Oct 2010 20:46:33 +0000 (13:46 -0700)
commit1fdb936101637c91819efea47e921bb592e07e34
treec713564e117225a2af79479a0ed82d277a54e41d
parentf3e85df845a5da60fc461cf49537435b1d07cf6d
tcp: sack lost marking fixes

When only fast rexmit should be done, tcp_mark_head_lost marks
L too far. Also, sacked_upto below 1 is perfectly valid number,
the packets == 0 then needs to be trapped elsewhere.

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