The branch, v3-6-test has been updated
       via  bd89735 s3: Make the write end of the echo responder pipe 
non-blocking
      from  cf29959 Fix crash in SMB2 rename found by gentest. We must always 
have an lcomp in the destination struct for a rename, so set the flag 
appropriately.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit bd897350cc5c5f9cd77917630a632dc4ca3efd6d
Author: Volker Lendecke <v...@samba.org>
Date:   Wed Oct 6 15:05:59 2010 +0200

    s3: Make the write end of the echo responder pipe non-blocking
    
    Without this, we can get a writable pipe end, but the writev call on the 
pipe
    will block.

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/process.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 6ceb515..bb927ef 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2813,6 +2813,7 @@ static bool fork_echo_handler(struct 
smbd_server_connection *sconn)
                NTSTATUS status;
 
                close(listener_pipe[0]);
+               set_blocking(listener_pipe[1], false);
 
                status = reinit_after_fork(smbd_messaging_context(),
                                           smbd_event_context(),


-- 
Samba Shared Repository

Reply via email to