summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-04-19 10:04:08 +0200
committerVolker Lendecke <vl@samba.org>2013-04-19 13:16:38 +0200
commit165b7aa58690cbc6a288b70e5690bf2e93f3ca62 (patch)
treec026636f148cf360332099bab3cf5f24b1ef4dab
parent58275be0eb68d01a238f0fedf4c92b63f7d10b53 (diff)
downloadsamba-165b7aa58690cbc6a288b70e5690bf2e93f3ca62.tar.gz
samba-165b7aa58690cbc6a288b70e5690bf2e93f3ca62.tar.bz2
samba-165b7aa58690cbc6a288b70e5690bf2e93f3ca62.zip
s3:smbd stop working on a dead client socket
when the client has already disconnected, exit server as done in other paths in smbd_process Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
-rw-r--r--source3/smbd/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 2d6f0f1f6f..20e2c11a84 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -3582,6 +3582,7 @@ void smbd_process(struct tevent_context *ev_ctx,
DEBUG(level,("Unable to get tcp info for "
"smbd_register_ips: %s\n",
strerror(errno)));
+ exit_server_cleanly("client_get_tcp_info() failed.\n");
}
}