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
Please register or sign in to comment