]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd: update comment to correctly reflect MS-SMB2
authorRalph Boehme <slow@samba.org>
Fri, 17 Apr 2015 07:12:59 +0000 (09:12 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Apr 2015 00:21:24 +0000 (02:21 +0200)
https://bugzilla.samba.org/show_bug.cgi?id=11224

Signed-off-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 22 01:04:02 CEST 2015 on sn-devel-104

(cherry picked from commit 64b038da31c7674410ef770f9c40a5402159fb57)

source3/smbd/smb2_server.c

index 4f3fa15f1de5690988a7058b0fb3cf1ff53a063b..1e4bedae39cea7cdbaecf11245ef4a03034dccd6 100644 (file)
@@ -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);