summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-08 12:50:22 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-08 12:50:22 +0200
commit9f51d610d2d14f2b0ac532019e42bd18b8a05d81 (patch)
tree60e883831b00ffb9e3663bbb6feb92346c711f0e /source3/smbd
parent51dd39b2cf800ccf89cc1ae5ce6fe1ce2edff9c3 (diff)
downloadsamba-9f51d610d2d14f2b0ac532019e42bd18b8a05d81.tar.gz
samba-9f51d610d2d14f2b0ac532019e42bd18b8a05d81.tar.bz2
samba-9f51d610d2d14f2b0ac532019e42bd18b8a05d81.zip
s3:smb2_server: don't try to update req->in.vector[0] in smbd_smb2_request_pending_queue()
req->in.vector[0] is reserved for the transport and might be removed in future. This is currently always { NULL, 0 }, as it's not used, by our transport layer code. The SMB2 layer should never touch this! metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_server.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 19a1051f33..4ced9f21fe 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -1232,9 +1232,6 @@ NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req,
sizeof(req->in.vector[0])*SMBD_SMB2_NUM_IOV_PER_REQ);
req->in.vector_count = req->current_idx + SMBD_SMB2_NUM_IOV_PER_REQ;
- /* Reset the new in size. */
- smb2_setup_nbt_length(req->in.vector, req->in.vector_count);
-
/* Re-arrange the out.vectors. */
memmove(&req->out.vector[req->current_idx],
&req->out.vector[i],