From 50e4e0d1821a6e5deab0ead9f35ffb4e60625ea6 Mon Sep 17 00:00:00 2001 From: xueyunfei Date: Thu, 23 Apr 2020 15:37:08 +0800 Subject: [PATCH] fixbug for tcp kill state assert --- src/core/tcp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/tcp.c b/src/core/tcp.c index 85f9e29a..1993928d 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -1755,8 +1755,6 @@ tcp_kill_state(enum tcp_state state) struct tcp_pcb *pcb, *inactive; u32_t inactivity; - LWIP_ASSERT("invalid state", (state == CLOSING) || (state == LAST_ACK)); - inactivity = 0; inactive = NULL; /* Go through the list of active pcbs and get the oldest pcb that is in state