summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index f5cc43e86e..75bd770878 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1001,6 +1001,10 @@ static NTSTATUS smbd_server_connection_loop_once(struct smbd_server_connection *
errno = sav;
}
+ if (selrtn == -1 && errno != EINTR) {
+ return map_nt_error_from_unix(errno);
+ }
+
if (run_events(smbd_event_context(), selrtn, &r_fds, &w_fds)) {
return NT_STATUS_RETRY;
}