From: Ralph Boehme Date: Fri, 17 Apr 2015 07:12:59 +0000 (+0200) Subject: s3:smbd: update comment to correctly reflect MS-SMB2 X-Git-Tag: samba-4.1.18~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08dd42c3886daef81f37dcda64d9517bad65551a;p=thirdparty%2Fsamba.git s3:smbd: update comment to correctly reflect MS-SMB2 https://bugzilla.samba.org/show_bug.cgi?id=11224 Signed-off-by: Ralph Boehme Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Apr 22 01:04:02 CEST 2015 on sn-devel-104 (cherry picked from commit 64b038da31c7674410ef770f9c40a5402159fb57) --- diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 4f3fa15f1de..1e4bedae39c 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -1280,12 +1280,11 @@ NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req, if (req->in.vector_count > req->current_idx + SMBD_SMB2_NUM_IOV_PER_REQ) { /* - * We're trying to go async in a compound - * request chain. - * This is only allowed for opens that - * cause an oplock break, otherwise it - * is not allowed. See [MS-SMB2].pdf - * note <194> on Section 3.3.5.2.7. + * We're trying to go async in a compound request + * chain. This is only allowed for opens that cause an + * oplock break or for the last operation in the + * chain, otherwise it is not allowed. See + * [MS-SMB2].pdf note <206> on Section 3.3.5.2.7. */ const uint8_t *inhdr = SMBD_SMB2_IN_HDR_PTR(req);