1
0
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:
Volker Lendecke
2009-03-01 19:43:07 +01:00
parent 46bcb10b5a
commit fe486d7b9f
4 changed files with 34 additions and 6 deletions

View File

@@ -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;
}