diff --git a/lwip/esp_interface.c b/lwip/esp_interface.c index f67f9dd..77ad177 100644 --- a/lwip/esp_interface.c +++ b/lwip/esp_interface.c @@ -164,6 +164,8 @@ void pp_recycle_rx_pbuf(struct pbuf *p) #define COPY_PP_RX_PBUFS 0 +#if TCP_QUEUE_OOSEQ + /* Return the number of ooseq bytes that can be retained given the current * size 'n'. */ size_t ooseq_bytes_limit(struct tcp_pcb *pcb) @@ -220,6 +222,8 @@ size_t ooseq_pbufs_limit(struct tcp_pcb *pcb) return target; } +#endif /* TCP_QUEUE_OOSEQ */ + /** * This function should be called when a packet is ready to be read * from the interface. It uses the function low_level_input() that diff --git a/lwip/lwip b/lwip/lwip index 16c0f92..74676d4 160000 --- a/lwip/lwip +++ b/lwip/lwip @@ -1 +1 @@ -Subproject commit 16c0f928b5d6f557e845d96782cb3fa4e8e549fd +Subproject commit 74676d46f0bc5ed82515f8e247008b7c45ec6cf6