ARMmbed / sal-stack-lwip

LwIP package for mbed
Other
4 stars 14 forks source link

UDP fragmentation & packet queueing error #50

Closed bremoran closed 8 years ago

bremoran commented 8 years ago

UDP receive depends on pbuf::tot_len to determine the UDP packet size, but this field is updated when a new packet is appended to the list by calling pbuf_cat. This could mean that multiple UDP packets appear to be a single packet.

To solve this, pbufs need to be chained without modifying the pbuf::tot_len field.

ciarmcom commented 8 years ago

ARM Internal Ref: IOTSFW-1957