nuttx/arch/xtensa
Masayuki Ishikawa 102adaf026 arch: esp32: Fix a memory leak when discarding a large packet.
Summary:
- Recently I noticed that ESP32-DevKitC-32D suddenly stops
  during receiving ping packets from PC after 10-20mins
- Actually, sometimes memory leak happened when some device
  sent a big broadcast packet periodically on the network
- This commit fixes this issue by calling esp_wifi_free_eb()
  in the case that the packet exceeds WLAN_BUF_SIZE.
- Also, this commit applies the same logic in the case that
  the Wi-Fi interface is down

Impact:
- None

Testing:
- Tested with esp32-devkitc:wapi

Suggested-by: YAMAMOTO Takashi <yamamoto@midokura.com>
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-17 12:55:08 +09:00
..
include xtensa/esp32: Add efuse driver 2021-01-26 18:23:43 -08:00
src arch: esp32: Fix a memory leak when discarding a large packet. 2021-02-17 12:55:08 +09:00
Kconfig esp32: Retire XTENSA_IMEM_PROCFS 2021-02-12 03:16:03 -08:00