[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-666-g42bc4ff

Volker Lendecke vlendec at samba.org
Mon Apr 7 09:55:08 GMT 2008


The branch, v3-2-test has been updated
       via  42bc4ff7fd6bfc92bde015ae8f3a9fb62d443cd5 (commit)
      from  d3c31aa36c451f0a19496cd33c0b055b466e6b09 (commit)

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


- Log -----------------------------------------------------------------
commit 42bc4ff7fd6bfc92bde015ae8f3a9fb62d443cd5
Author: Björn Jacke <bj at sernet.de>
Date:   Mon Apr 7 11:22:14 2008 +0200

    increase log level for this failed setsockopt call. EINVAL is a normal error on Solaris when we do this on an already resetted connection.

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

Summary of changes:
 source/lib/util_sock.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c
index 30a3b83..f252377 100644
--- a/source/lib/util_sock.c
+++ b/source/lib/util_sock.c
@@ -837,7 +837,10 @@ void set_socket_options(int fd, const char *options)
 		}
 
 		if (ret != 0) {
-			DEBUG(0,("Failed to set socket option %s (Error %s)\n",
+			/* be aware that some systems like Solaris return
+			 * EINVAL to a setsockopt() call when the client
+			 * sent a RST previously - no need to worry */
+			DEBUG(2,("Failed to set socket option %s (Error %s)\n",
 				tok, strerror(errno) ));
 		}
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list