mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
Fix bug #51937 by checking TF_CLOSED at the end of all pcb callbacks in tcp_input()
This commit is contained in:
parent
a8ac37f419
commit
86abfbe087
@ -521,6 +521,9 @@ tcp_input(struct pbuf *p, struct netif *inp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
tcp_input_pcb = NULL;
|
tcp_input_pcb = NULL;
|
||||||
|
if (tcp_input_delayed_close(pcb)) {
|
||||||
|
goto aborted;
|
||||||
|
}
|
||||||
/* Try to send something out. */
|
/* Try to send something out. */
|
||||||
tcp_output(pcb);
|
tcp_output(pcb);
|
||||||
#if TCP_INPUT_DEBUG
|
#if TCP_INPUT_DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user