mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
c0fa2cae3d
in multi-core cpu, tcp_free and tcp_timer_expiry->tcp_timer will work in parallel, after tcp_free call work_cancle, tcp->timer will call tcp_update_timer to re-add work to worker queue, then tcp_free free conn, in this condition, it will result use after free. Signed-off-by: wenquan1 <wenquan1@xiaomi.com>