[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27847] TCP fast retransmit error
From: |
hanhui |
Subject: |
[lwip-devel] [bug #27847] TCP fast retransmit error |
Date: |
Thu, 29 Oct 2009 14:28:16 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; MEGAUPLOAD 2.0) |
URL:
<http://savannah.nongnu.org/bugs/?27847>
Summary: TCP fast retransmit error
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: hanhui03
Submitted on: Thu Oct 29 14:28:15 2009
Category: TCP
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: CVS Head
_______________________________________________________
Details:
In recent days, I use a TCP echo server test lwip stack.
When I use a mass of data test and check the packet. I found many TCP
"Out-Of-Order" and "Retransmit" packet(lwip send).
After detailed investigation, then I found the problem is in lwip's Fast
Retransmit arithmetic.
lwip has error in decide duplicate ACK!
windows send large amounts of data, usually send consecutive packets and has
same ACK(> 3 packets). then lwip decide that need fast retransmit.
These are the rules BSD stacks use to determine if an ACK is a
duplicate:
An ACK is a duplicate if:
(1) it has the same sequence number as the largest number we've seen,
(2) it has the same window as the last ACK,
(3) we have outstanding data that has not been ACKed
(4) The packet was not carrying any data.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27847>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #27847] TCP fast retransmit error,
hanhui <=