CIFS: Respect SMB2 hdr preamble size in read responses

There are a couple places where we still account for 4 bytes
in the beginning of SMB2 packet which is not true in the current
code. Fix this to use a header preamble size where possible.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Pavel Shilovsky 2019-01-17 16:18:38 -08:00 • committed by Steve French
commit bb1bccb60c
2 changed files with 7 additions and 6 deletions