Просмотр исходного кода

Merge branch 'fixbug/baidu_tcp_recv_assert_for_4.1' into 'release/v4.1'

lw-ip:fix bug for tcp recv assert(backport 4.1)

See merge request espressif/esp-idf!11602
Jiang Jiang Jian 5 лет назад
Родитель
Сommit
aff13c0fbc
2 измененных файлов с 6 добавлено и 1 удалено
  1. 1 1
      components/lwip/lwip
  2. 5 0
      components/lwip/port/esp32/include/lwipopts.h

+ 1 - 1
components/lwip/lwip

@@ -1 +1 @@
-Subproject commit 889c3875bf2154356aab10b36025add28909a933
+Subproject commit 7285b846a22ebd02377bd9c67e7f9eaaf842492b

+ 5 - 0
components/lwip/port/esp32/include/lwipopts.h

@@ -795,6 +795,11 @@ u32_t lwip_hook_tcp_isn(const struct ip_addr *local_ip, u16_t local_port,
  */
 #define TCPIP_DEBUG                     LWIP_DBG_OFF
 
+/**
+ * TCP_OOSEQ_DEBUG: Enable debugging in tcpin.c for OOSEQ.
+ */
+#define TCP_OOSEQ_DEBUG                 LWIP_DBG_OFF
+
 /**
  * ETHARP_TRUST_IP_MAC==1: Incoming IP packets cause the ARP table to be
  * updated with the source MAC and IP addresses supplied in the packet.