summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2019-11-08 10:01:35 +0300
committerSteve French <stfrench@microsoft.com>2019-11-25 10:14:53 +0300
commit037d050724ed30a5ef02e6e886884a48e7654e47 (patch)
tree434f8a2856b36cb1f3e07741a81991992a8f588d /fs/cifs/smb2proto.h
parent72e73c78c446e3c009a29b017c7fa3d79463e2aa (diff)
downloadlinux-037d050724ed30a5ef02e6e886884a48e7654e47.tar.xz
smb3: remove confusing dmesg when mounting with encryption ("seal")
The smb2/smb3 message checking code was logging to dmesg when mounting with encryption ("seal") for compounded SMB3 requests. When encrypted the whole frame (including potentially multiple compounds) is read so the length field is longer than in the case of non-encrypted case (where length field will match the the calculated length for the particular SMB3 request in the compound being validated). Avoids the warning on mount (with "seal"): "srv rsp padded more than expected. Length 384 not ..." Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
0 files changed, 0 insertions, 0 deletions