Ensure SACKs are deleted when pbuf_free_ooseq() frees ooseq pbufs (because of memory shortage)

This commit is contained in:
goldsimon
2017-07-04 20:10:23 +02:00
parent 0b91888eb1
commit 2b2fa0ed71
3 changed files with 21 additions and 13 deletions

View File

@@ -502,6 +502,10 @@ void tcp_timer_needed(void);
void tcp_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
#if TCP_QUEUE_OOSEQ
void tcp_free_ooseq(struct tcp_pcb *pcb);
#endif
#ifdef __cplusplus
}
#endif