summaryrefslogtreecommitdiff
path: root/fs/hfsplus
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2018-08-22 05:19:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-26 09:33:50 +0300
commit0b7ebfb97ed1c214b7b83bd17f08d34c0f990946 (patch)
treeaf4d150cd3c4082879488defca1a50cb1ba612c3 /fs/hfsplus
parentc0305995d3676c8f7764eb79a7f99de8d18c591a (diff)
downloadlinux-0b7ebfb97ed1c214b7b83bd17f08d34c0f990946.tar.xz
cifs: check if SMB2 PDU size has been padded and suppress the warning
[ Upstream commit e6c47dd0da1e3a484e778046fc10da0b20606a86 ] Some SMB2/3 servers, Win2016 but possibly others too, adds padding not only between PDUs in a compound but also to the final PDU. This padding extends the PDU to a multiple of 8 bytes. Check if the unexpected length looks like this might be the case and avoid triggering the log messages for : "SMB2 server sent bad RFC1001 len %d not %d\n" Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions