summaryrefslogtreecommitdiff
path: root/nuttx/ChangeLog
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-23 15:53:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-23 15:53:27 +0000
commite684270a1ae6eccb65fbc4ab44f455e8d46de29f (patch)
tree7b236febcd23f16b5e330ac27273302da14338e4 /nuttx/ChangeLog
parent23a869d9be23a33962c55a1e6f62e6b91b2cbfc4 (diff)
downloadnuttx-e684270a1ae6eccb65fbc4ab44f455e8d46de29f.tar.gz
nuttx-e684270a1ae6eccb65fbc4ab44f455e8d46de29f.tar.bz2
nuttx-e684270a1ae6eccb65fbc4ab44f455e8d46de29f.zip
Fix an error the TCP/IP received sequence number counting
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4416 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r--nuttx/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 27bd1cb7f..df9646b47 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -2484,3 +2484,12 @@
the accecpt() and connect() logic. Contributed by Max Nekludov.
* net/recvfrom.c and net/uip/uip_tcpcallback.c: Fix a leak in the TCP
read-ahead logic. This is a *critical* bug fix!
+ * net/uip/uip_tcpinput.c: Correct an error in the TCP stack. It was
+ incrementing the received sequence number BEFORE determining if the
+ incoming data could be handled. If the data was dropped (usually because
+ there is insufficient buffering space), then no ACK will be sent and the
+ sequence number will be wrong. The end consequence of the bad sequence
+ number was that the when the dropped packet was re-transmitted, it was
+ was ignored because its sequence number looked wrong. Fix was, obviously,
+ to only increment the recevied sequence number if the TCP data was
+ accepted.