[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9125] tcp: fix FIN ACK handling with unsent data
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #9125] tcp: fix FIN ACK handling with unsent data |
Date: |
Fri, 30 Sep 2016 06:18:39 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36 |
Follow-up Comment #1, patch #9125 (project lwip):
> Description in patch.
Please post descriptions here, not only in patch files. You cannot view the
contents of attached files on all platforms. I'll dothis for you now:
TCP's snd_nxt represents the next sequence number after sent data, and as such
does not cover any unsent data queued on the connection. The current
implementation does not take the latter point into account when processing FIN
acknowledgments, mistakenly assuming that an outgoing FIN is ACK'ed when the
acknowledgment covers up to snd_nxt while there is still unsent data. This
patch adds a check for unsent data to correct this, effectively preventing
that TCP connections are closed prematurely.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9125>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #9125] tcp: fix FIN ACK handling with unsent data,
Simon Goldschmidt <=