summaryrefslogtreecommitdiff
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2017-05-04 05:12:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-20 15:31:01 +0300
commitae6c2182b8536fafe21c2dcf747eacd20d867ade (patch)
treefaa85b7b66f6cc984638a55f0ee852c4e57c9207 /fs/mpage.c
parent6716949b0029f5b92c185dedad321e7853f841dd (diff)
downloadlinux-ae6c2182b8536fafe21c2dcf747eacd20d867ade.tar.xz
SMB3: Work around mount failure when using SMB3 dialect to Macs
commit 7db0a6efdc3e990cdfd4b24820d010e9eb7890ad upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions