mirror of
https://github.com/samba-team/samba.git
synced 2025-11-29 16:23:52 +03:00
Add "queue" to writev_send
Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
This commit is contained in:
@@ -1243,7 +1243,8 @@ static void np_write_trigger(struct async_req *req)
|
||||
req->private_data, struct np_write_state);
|
||||
struct tevent_req *subreq;
|
||||
|
||||
subreq = writev_send(state, state->ev, state->p->fd, &state->iov, 1);
|
||||
subreq = writev_send(state, state->ev, NULL, state->p->fd,
|
||||
&state->iov, 1);
|
||||
if (async_req_nomem(subreq, req)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user