git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e03cb16
)
s3:smbd: let smbd_server_connection_loop_once() check for select errors
author
Stefan Metzmacher
<metze@samba.org>
Mon, 24 Jan 2011 08:00:53 +0000
(09:00 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Sat, 5 Mar 2011 13:34:52 +0000
(14:34 +0100)
metze
(cherry picked from commit
0bbe7334d69bcaa476f0741e0bd9685b023a4208
)
(cherry picked from commit
d677921237c66e6cdf83de04e16c576a101d6493
)
(cherry picked from commit
8a82e65f711e2f4ac893bd7e2365b305e1b088b8
)
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index f7b0f4cfcef3ff1224009123653665c13c190b20..529206069fddd9a7942b93bf230cbc85a89c3cd7 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-837,6
+837,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;
}