mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
s3:smb2cli: make sure requests are not finished, when we send when to the network
metze
This commit is contained in:
parent
0b6087c7be
commit
4dca2acfe4
@ -254,6 +254,10 @@ NTSTATUS smb2cli_req_compound_submit(struct tevent_req **reqs,
|
||||
bool ret;
|
||||
uint64_t mid;
|
||||
|
||||
if (!tevent_req_is_in_progress(reqs[i])) {
|
||||
return NT_STATUS_INTERNAL_ERROR;
|
||||
}
|
||||
|
||||
state = tevent_req_data(reqs[i], struct smb2cli_req_state);
|
||||
|
||||
if (state->cli->smb2.mid == UINT64_MAX) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user