mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix lwip tcp_oversize_dbgcheck assert
This commit is contained in:
parent
5e50c9d884
commit
336c4b4a55
@ -1066,6 +1066,9 @@ tcp_output(struct tcp_pcb *pcb)
|
||||
|
||||
#if TCP_OVERSIZE_DBGCHECK
|
||||
seg->oversize_left = 0;
|
||||
if (seg->next == NULL) {
|
||||
pcb->unsent_oversize = 0;
|
||||
}
|
||||
#endif /* TCP_OVERSIZE_DBGCHECK */
|
||||
err = tcp_output_segment(seg, pcb);
|
||||
if ((err != ERR_OK) && (err != ERR_RTE)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user