fixed bug #33871: rejecting TCP_EVENT_RECV() for the last packet including FIN can lose data

This commit is contained in:
Simon Goldschmidt
2011-09-23 19:14:17 +02:00
committed by goldsimon
parent ac7c061406
commit 140eb22cf0
4 changed files with 65 additions and 12 deletions

View File

@@ -69,6 +69,8 @@ typedef enum {
#define PBUF_FLAG_IS_CUSTOM 0x02U
/** indicates this pbuf is UDP multicast to be looped back */
#define PBUF_FLAG_MCASTLOOP 0x04U
/** indicates this pbuf includes a TCP FIN flag */
#define PBUF_FLAG_TCP_FIN 0x20U
struct pbuf {
/** next pbuf in singly linked pbuf chain */