diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-08-22 12:19:24 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-08-23 15:10:46 -0500 |
commit | e6c47dd0da1e3a484e778046fc10da0b20606a86 (patch) | |
tree | d31ac49b712f9e4b350d7b369b0837a2bda8f926 /COPYING | |
parent | 4d8dfafc5cb88fe294a9273a3ef75dd4f9fa1aa2 (diff) | |
download | linux-stable-e6c47dd0da1e3a484e778046fc10da0b20606a86.tar.gz linux-stable-e6c47dd0da1e3a484e778046fc10da0b20606a86.tar.bz2 linux-stable-e6c47dd0da1e3a484e778046fc10da0b20606a86.zip |
cifs: check if SMB2 PDU size has been padded and suppress the warning
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions