summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-03-20 12:17:08 +0100
committerStefan Metzmacher <metze@samba.org>2020-03-25 09:04:28 +0000
commit8946531f1f70c87b17ded5a9b42cf0329fe83fe7 (patch)
treee4a802fb985d6be9ec64838ed0aa121be9a3ed3a /source3/winbindd
parent0e50ed193606c3716bcd3955e6305f6891f34cff (diff)
downloadsamba-8946531f1f70c87b17ded5a9b42cf0329fe83fe7.tar.gz
winbind: Set the parent->child sock nonblocking
The parent goes through wb_simple_trans_send(), which deals with short writes fine. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_dual.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index 8188ed097df..8ad2485324e 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -1688,6 +1688,7 @@ static bool fork_domain_child(struct winbindd_child *child)
}
child->sock = fdpair[1];
+ set_blocking(child->sock, false);
return True;
}