esp-idf/components/esp_netif/include
David Cermak 65917bb8c3 fix(esp_netif): Lock netif list with TCPIP context
This commit removes the lock from the list manipulation code in esp_netif_objects.c,
 because we already have another lock/task context for lwip.
So the list manipulation is unsafe and safety must be assured by the stack layer
(in esp_netif_lwip).
Problems with current locking:
* implementation of locking was wrong -- lazy init style of creating the mutex is not
  thread safe (and destroying it if we have no interface makes the problem exhibit very frequently)
* locking only the list won't solve issues when assessing interfaces atomically
* maintaining multiple locks is problematic, as we often switch between
lwip context and user context in internal implementation of esp_netif_lwip

Closes https://github.com/espressif/esp-idf/issues/12261
2023-11-22 09:59:37 +00:00
..
lwip esp_netif: Make esp_netif_receive() return value configurable 2023-07-07 13:56:13 +02:00
esp_netif_br_glue.h esp_netif: added support for LwIP bridge 2022-06-14 15:29:44 +02:00
esp_netif_defaults.h esp_wifi: Add support for NAN Discovery and Datapath 2023-03-10 11:18:23 +05:30
esp_netif_ip_addr.h lwip: Support IPv6 only mode 2023-02-27 08:53:34 +01:00
esp_netif_net_stack.h esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers" 2022-07-20 14:59:07 +02:00
esp_netif_ppp.h esp_netif: Extend PPP netif API to control connection failure 2021-09-07 09:03:15 +02:00
esp_netif_sntp.h fix(c++): invalid conversion from int to enumeration 2023-08-14 07:49:02 +00:00
esp_netif_types.h lwip: solve some routers do not forward multicast packet issue 2023-03-08 16:58:29 +08:00
esp_netif.h fix(esp_netif): Lock netif list with TCPIP context 2023-11-22 09:59:37 +00:00
esp_vfs_l2tap.h docs: fix all doxygen warnings 2022-05-12 14:50:03 +08:00