diff --git a/src/core/tcp_in.c b/src/core/tcp_in.c index 48d95c12..006bdf37 100644 --- a/src/core/tcp_in.c +++ b/src/core/tcp_in.c @@ -521,6 +521,9 @@ tcp_input(struct pbuf *p, struct netif *inp) } tcp_input_pcb = NULL; + if (tcp_input_delayed_close(pcb)) { + goto aborted; + } /* Try to send something out. */ tcp_output(pcb); #if TCP_INPUT_DEBUG