Ilpo Järvinen 34588b4c04 [TCP]: Catch skb with S+L bugs earlier
SACKED_ACKED and LOST are mutually exclusive with SACK, thus
having their sum larger than packets_out is bug with SACK.
Eventually these bugs trigger traps in the tcp_clean_rtx_queue
with SACK but it's much more informative to do this here.

Non-SACK TCP, however, could get more than packets_out duplicate
ACKs which each increment sacked_out, so it makes sense to do
this kind of limitting for non-SACK TCP but not for SACK enabled
one. Perhaps the author had the opposite in mind but did the
logic accidently wrong way around? Anyway, the sacked_out
incrementer code for non-SACK already deals this issue before
calling sync_left_out so this trapping can be done
unconditionally.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-30 00:57:33 -07:00
..
2007-02-26 11:42:43 -08:00
2007-04-26 00:57:41 -07:00
2006-12-02 21:21:08 -08:00
2006-12-02 21:22:55 -08:00
2005-08-29 15:32:25 -07:00
2005-04-16 15:20:36 -07:00
2006-09-28 18:01:06 -07:00
2005-04-16 15:20:36 -07:00
2006-12-02 21:23:41 -08:00
2007-04-25 22:29:51 -07:00
2007-04-25 22:29:52 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-22 07:57:21 -03:00
2006-03-20 22:59:36 -08:00
2006-12-02 21:22:52 -08:00
2007-04-26 00:57:41 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:32:25 -07:00
2007-04-26 00:57:41 -07:00
2007-04-25 22:27:56 -07:00
2007-04-30 00:57:33 -07:00
2007-04-28 21:20:32 -07:00