s3:smbd stop working on a dead client socket
authorChristian Ambach <ambi@samba.org>
Fri, 19 Apr 2013 08:04:08 +0000 (10:04 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Apr 2013 11:16:38 +0000 (13:16 +0200)
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>
source3/smbd/process.c

index 2d6f0f1f6f1be6041bab05dc3a55e1cd4d2b8b67..20e2c11a84942490c3ec5e06906d14319dd540e4 100644 (file)
@@ -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");
                }
        }