Merge branch 'bugfix/fix_tcp_crash' into 'master'

fix tcp crash

See merge request !1444
pull/1209/head
Angus Gratton 2017-10-31 06:18:49 +08:00
commit 696dfbcfee
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -1353,8 +1353,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