mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
33c3abb706
We may just free some TCP connections before monitor stopped, e.g. sacrificie a TCP conn in `tcp_alloc` will just call `tcp_free` and reuse the connection. But we noticed that the TCP monitor is not released in `tcp_free` because it is mounted on `conn->connevents` instead of `conn->sconn.list` while `tcp_free` only release the latter. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>