mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r20330: And here's the fix for the parent winbindd crashing
after it's child died unexpectedly whilst the parent was waiting for a reply. We need to clean up the request we're not going to service, plus we still need to call the continuation function with a "False" flag so it can clean things up. Still testing this, but I think I'm right. Jeremy
This commit is contained in:
parent
a0278a0cb0
commit
9b04ac0c81
@ -192,7 +192,12 @@ static void async_reply_recv(void *private_data, BOOL success)
|
||||
|
||||
if (!success) {
|
||||
DEBUG(5, ("Could not receive async reply\n"));
|
||||
|
||||
cache_cleanup_response(child->pid);
|
||||
DLIST_REMOVE(child->requests, state);
|
||||
|
||||
state->response->result = WINBINDD_ERROR;
|
||||
state->continuation(state->private_data, False);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user