SMB3.1.1: fix mount failure to some servers when compression enabled
authorSteve French <stfrench@microsoft.com>
Thu, 15 Jul 2021 04:32:09 +0000 (23:32 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 16 Jul 2021 00:07:04 +0000 (19:07 -0500)
commit4511d7c8f440ab13520601141d67d13cb074620a
tree0659b1e0c78fa6c5f080a2869a2959bafaa5049a
parent16dd9b8c31aee7ae074fa3ee36a797e9ba9f7e4f
SMB3.1.1: fix mount failure to some servers when compression enabled

When sending the compression context to some servers, they rejected
the SMB3.1.1 negotiate protocol because they expect the compression
context to have a data length of a multiple of 8.

Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.h