Files
linux/net
Angelo P. Castellani 8872d8e1c4 [TCP]: reno sacked_out count fix
From: "Angelo P. Castellani" <angelo.castellani+lkml@gmail.com>

Using NewReno, if a sk_buff is timed out and is accounted as lost_out,
it should also be removed from the sacked_out.

This is necessary because recovery using NewReno fast retransmit could
take up to a lot RTTs and the sk_buff RTO can expire without actually
being really lost.

left_out = sacked_out + lost_out
in_flight = packets_out - left_out + retrans_out

Using NewReno without this patch, on very large network losses,
left_out becames bigger than packets_out + retrans_out (!!).

For this reason unsigned integer in_flight overflows to 2^32 - something.

Signed-off-by: David S. Miller <davem@davemloft.net>
2006-05-16 21:42:11 -07:00
..
2006-05-16 15:23:40 -07:00
2006-05-05 17:09:13 -07:00
2006-05-03 23:36:23 -07:00
2006-05-16 21:42:11 -07:00
2006-03-20 22:33:17 -08:00
2005-08-29 15:31:14 -07:00
2006-02-07 01:47:12 -05:00
2006-01-12 14:06:31 -08:00
2006-05-01 06:06:10 -04:00
2005-04-16 15:20:36 -07:00