[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Fri Feb 11 04:14:01 MST 2011


The branch, master has been updated
       via  16229e4 s3: Avoid a select call per smb
      from  90c8de5 s3: Add more checks and better fallback to addrchange

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 16229e4cefb01c3bdf1cb1cef81f0eab1f1cc0e6
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Feb 11 11:25:13 2011 +0100

    s3: Avoid a select call per smb
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Fri Feb 11 12:13:54 CET 2011 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 6c2908d..20569d8 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2263,7 +2263,7 @@ static void smbd_server_connection_read_handler(
 	if (from_client) {
 		smbd_lock_socket(conn);
 
-		if (!fd_is_readable(fd)) {
+		if (lp_async_smb_echo_handler() && !fd_is_readable(fd)) {
 			DEBUG(10,("the echo listener was faster\n"));
 			smbd_unlock_socket(conn);
 			return;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list