mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
fix tcp crash
This commit is contained in:
@@ -1353,8 +1353,6 @@ tcp_kill_state(enum tcp_state state)
|
|||||||
struct tcp_pcb *pcb, *inactive;
|
struct tcp_pcb *pcb, *inactive;
|
||||||
u32_t inactivity;
|
u32_t inactivity;
|
||||||
|
|
||||||
LWIP_ASSERT("invalid state", (state == CLOSING) || (state == LAST_ACK));
|
|
||||||
|
|
||||||
inactivity = 0;
|
inactivity = 0;
|
||||||
inactive = NULL;
|
inactive = NULL;
|
||||||
/* Go through the list of active pcbs and get the oldest pcb that is in state
|
/* Go through the list of active pcbs and get the oldest pcb that is in state
|
||||||
|
Reference in New Issue
Block a user