]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifsd: Fix regression in smb2_get_info
authorSebastian Gottschall <s.gottschall@dd-wrt.com>
Tue, 27 Apr 2021 06:33:54 +0000 (15:33 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 28 Apr 2021 05:04:25 +0000 (00:04 -0500)
commitd82e188fa0e4ca98294b0c2a2ea1cfad19973f56
tree57daadaa1862051676ac9e7fc0694a90bd49c780
parentea0d295b0608de0ff232fac19ff717f74b33c1c6
cifsd: Fix regression in smb2_get_info

a Windows 10 client isn't able to store files from ksmbd servers due
unknown local permission problems (code 0x8007003A) if smb3 encryption
is enabled. Windows 10 is requesting for ATTRIBUTE_SECINFO (mask 0x20)
which is not yet handled by ksmbd, this leads to a invalid response.
For now we just reintroduce the old check to avoid processing of unhandled
flags until ATTRIBUTE_SECINFO is properly handled.

Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/smb2pdu.c