Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network-stack: Fix deadlock in perform_on_lwip_thread()
Where in the case of already being on the lwIP thread, we would enqueue the request and then perform whichever is the oldest pending request. So when there was already one or more requests pending, we would perform that request instead. Then next we would join() our request, assuming it had completed, and end up deadlocking the lwIP thread. Kudos to @mrmacete for reporting and helping track this one down. Co-authored-by: Håvard Sørbø <[email protected]>
- Loading branch information