]> git.baikalelectronics.ru Git - kernel.git/commit
SMB3: incorrect file id in requests compounded with open
authorSteve French <stfrench@microsoft.com>
Sat, 15 May 2021 14:52:22 +0000 (09:52 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 19 May 2021 15:10:58 +0000 (10:10 -0500)
commita6729f99710e7980ace7315067b1989666363caa
tree566a551cbe4a042f7eff1413f04100e796b326cc
parent47deb75df4706e8c99f81149a8d47ffe3ccd0cf4
SMB3: incorrect file id in requests compounded with open

See MS-SMB2 3.2.4.1.4, file ids in compounded requests should be set to
0xFFFFFFFFFFFFFFFF (we were treating it as u32 not u64 and setting
it incorrectly).

Signed-off-by: Steve French <stfrench@microsoft.com>
Reported-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
fs/cifs/smb2pdu.c