Skip to content
Commit 371a9fd8 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Networking: Fix another deadlock condition. tcp_write_buffer_alloc() calls...

Networking:  Fix another deadlock condition.  tcp_write_buffer_alloc() calls sem_wait() with network locked.  That worked if CONFIG_NET_NOINTS was not defined because interrupts are automatically restored when the wait happens.  But with CONFIG_NET_NOINTS=y, the wait blocks with the network locked -- bad style and also can lead to a deadlock condition
parent 0f3f0338
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment