Ronnie Sahlberg e6c47dd0da 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>
2018-08-23 15:10:46 -05:00
..
2018-06-12 16:19:22 -07:00
2018-05-27 17:56:35 -05:00
2016-10-13 19:48:11 -05:00
2018-08-07 14:23:20 -05:00
2018-08-07 14:15:41 -05:00
2018-06-12 16:19:22 -07:00
2018-08-07 14:15:41 -05:00
2017-03-02 23:13:37 -06:00
2018-06-01 09:14:30 -05:00
2018-06-01 09:14:30 -05:00
2012-07-24 10:25:13 -05:00
2018-08-16 13:12:00 -06:00
2018-07-05 13:48:24 -05:00
2013-09-08 14:54:24 -05:00