Skip to content
Commit 7ebef900 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Networking: Fix a race condition. The accept() operation is performed with...

Networking:  Fix a race condition.  The accept() operation is performed with the network locked.  However, the network is unlocked BEFORE the connected state is set.  Therefore, a context switch may occur and the socket may no longer be connected when it is marked so.  Noted by Pascal Speck.
parent 9d3b1af1
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