mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Merge branch 'fix/esp32-ble-dtm-txbuf-leak_v6.0' into 'release/v6.0'
Fix DTM TX buffer leak in the BLE controller that could cause memory exhaustion and Interrupt WDT timeout during or after DTM TX tests. (6.0) See merge request espressif/esp-idf!52615
This commit is contained in:
@@ -766,7 +766,6 @@ static void osi_thread_generic_event_handler(void *context)
|
||||
OSI_EVENT_SET_FLAG(event, OSI_EVENT_FLAG_RUNNING);
|
||||
func = event->item.func;
|
||||
func_context = event->item.context;
|
||||
OSI_TRACE_DEBUG("%s enter ev=%p flags=0x%x", __func__, event, event->flags);
|
||||
osi_mutex_unlock(&event->lock);
|
||||
|
||||
if (func != NULL) {
|
||||
@@ -775,7 +774,6 @@ static void osi_thread_generic_event_handler(void *context)
|
||||
|
||||
osi_mutex_lock(&event->lock, OSI_MUTEX_MAX_TIMEOUT);
|
||||
OSI_EVENT_CLEAR_FLAG(event, OSI_EVENT_FLAG_RUNNING);
|
||||
OSI_TRACE_DEBUG("%s exit ev=%p flags=0x%x", __func__, event, event->flags);
|
||||
should_free = osi_event_release_locked(event);
|
||||
osi_event_unlock_and_maybe_free(event, should_free);
|
||||
}
|
||||
|
||||
Submodule components/bt/controller/lib_esp32 updated: 45b79faeb1...e4281c1496
Reference in New Issue
Block a user