diff options
author | Volker Lendecke <vl@samba.org> | 2020-03-20 12:17:08 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2020-03-25 09:04:28 +0000 |
commit | 8946531f1f70c87b17ded5a9b42cf0329fe83fe7 (patch) | |
tree | e4a802fb985d6be9ec64838ed0aa121be9a3ed3a /source3/winbindd | |
parent | 0e50ed193606c3716bcd3955e6305f6891f34cff (diff) | |
download | samba-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.c | 1 |
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; } |