summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_unicode.h
diff options
context:
space:
mode:
authorSteve French2017-05-04 04:12:20 +0200
committerSteve French2017-05-04 04:23:48 +0200
commit7db0a6efdc3e990cdfd4b24820d010e9eb7890ad (patch)
treecf9f0f71b301cc950949dfff20bdad9bebe0ed97 /fs/cifs/cifs_unicode.h
parentcifs: fix CIFS_IOC_GET_MNT_INFO oops (diff)
downloadkernel-qcow2-linux-7db0a6efdc3e990cdfd4b24820d010e9eb7890ad.tar.gz
kernel-qcow2-linux-7db0a6efdc3e990cdfd4b24820d010e9eb7890ad.tar.xz
kernel-qcow2-linux-7db0a6efdc3e990cdfd4b24820d010e9eb7890ad.zip
SMB3: Work around mount failure when using SMB3 dialect to Macs
Macs send the maximum buffer size in response on ioctl to validate negotiate security information, which causes us to fail the mount as the response buffer is larger than the expected response. Changed ioctl response processing to allow for padding of validate negotiate ioctl response and limit the maximum response size to maximum buffer size. Signed-off-by: Steve French <steve.french@primarydata.com> CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'fs/cifs/cifs_unicode.h')
0 files changed, 0 insertions, 0 deletions