mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
669619a06a
tcp_close disposes the connection immediately if it's called in TCP_LAST_ACK. If it happens, we will end up with responding the last ACK with a RST. This commit fixes it by making tcp_close wait for the completion of the passive close.