mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Fix an error in the handling of TCP/IP sequence numbers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2392 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1016,3 +1016,10 @@
|
||||
account for the 2-byte packet length and the 4-byte packet FCS in the
|
||||
FIFO).
|
||||
* net/accept.c - Fixed a bad assertion (only happens when debug is enabled).
|
||||
* net/send.c net/uip/uip_tcpseqno.c - Fixed a critical error in the TCP/IP
|
||||
logic. The NuttX port of uIP imcludes logic to send data ahead without
|
||||
waiting for ACKs from the recipient; this greatly improves throughput.
|
||||
However, the packet sequence number was not being updated correctly and,
|
||||
as a result, packets were not be ACKed by the recipient and transfers
|
||||
would sometimes stall. This is a very important bug fix (in fact, I
|
||||
don't understand how TCP/IP worked at all without this fix???)
|
||||
|
||||
Reference in New Issue
Block a user