s3: Avoid a race with the async echo handler
authorVolker Lendecke <vl@samba.org>
Thu, 10 Nov 2011 08:39:23 +0000 (09:39 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 10 Nov 2011 16:18:53 +0000 (17:18 +0100)
commit5e0258fc932c280428173bb397ef5a18352e63db
tree78327a40c73e5b9b85ef96412aba862a480cb1f0
parent17f1a97a614db4ed8292544988cb6a6cf56621d8
s3: Avoid a race with the async echo handler

We can not read from the echo handler socket when we have the main socket
locked. This leads to the echo responder to lock up sitting in the fcntl lock
while the parent wants to read the remainder of a large packet.
source3/smbd/process.c