kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/lwip_tcp_oversize_assert' into 'master'
fix lwip tcp_oversize_dbgcheck assert See merge request !1260pull/1098/head
commit
7e428433e1
|
@ -1066,6 +1066,9 @@ tcp_output(struct tcp_pcb *pcb)
|
||||||
|
|
||||||
#if TCP_OVERSIZE_DBGCHECK
|
#if TCP_OVERSIZE_DBGCHECK
|
||||||
seg->oversize_left = 0;
|
seg->oversize_left = 0;
|
||||||
|
if (seg->next == NULL) {
|
||||||
|
pcb->unsent_oversize = 0;
|
||||||
|
}
|
||||||
#endif /* TCP_OVERSIZE_DBGCHECK */
|
#endif /* TCP_OVERSIZE_DBGCHECK */
|
||||||
err = tcp_output_segment(seg, pcb);
|
err = tcp_output_segment(seg, pcb);
|
||||||
if ((err != ERR_OK) && (err != ERR_RTE)) {
|
if ((err != ERR_OK) && (err != ERR_RTE)) {
|
||||||
|
|
Ładowanie…
Reference in New Issue