diff options
author | Angelo P. Castellani <angelo.castellani+lkml@gmail.com> | 2006-05-17 06:42:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-05-17 06:42:11 +0200 |
commit | 8872d8e1c4311dd7e5086975df9c76120a0be83b (patch) | |
tree | 1486697e32c65521785721fe9523f4eaee9a3e90 /drivers/ieee1394/sbp2.h | |
parent | [IPV6]: Endian fix in net/ipv6/netfilter/ip6t_eui64.c:match(). (diff) | |
download | linux-8872d8e1c4311dd7e5086975df9c76120a0be83b.tar.xz linux-8872d8e1c4311dd7e5086975df9c76120a0be83b.zip |
[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>
Diffstat (limited to 'drivers/ieee1394/sbp2.h')
0 files changed, 0 insertions, 0 deletions