Skip to content

Comments

lwip_wrap.h: wrap more functions#3372

Open
functionpointer wants to merge 2 commits intoearlephilhower:masterfrom
functionpointer:lwip_wrap_more_fncts
Open

lwip_wrap.h: wrap more functions#3372
functionpointer wants to merge 2 commits intoearlephilhower:masterfrom
functionpointer:lwip_wrap_more_fncts

Conversation

@functionpointer
Copy link

While debugging #3265 i have found several LWIP functions that were called without the mutex being held. This was found by implementing LWIP_ASSERT_CORE_LOCKED with async_context_lock_check(__getEthernetContext());

This PR wraps these functions to ensure integrity of LWIP.

Additionally, it adds a comment about async context behaviour that explains some behavior seen in #1973, #1864 and #1979

Nonwrapped functions were found by implementing
LWIP_ASSERT_CORE_LOCKED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant