summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2misc.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2018-06-01 02:53:08 +0200
committerSteve French <smfrench@gmail.com>2018-06-03 01:36:26 +0200
commit8ce79ec359ad9f9d94aabf16c1ea5b8f28481c0f (patch)
tree1a723d4c75b30ccf4d407d6556ecf96db54c03e0 /fs/cifs/smb2misc.c
parentcifs: remove header_preamble_size where it is always 0 (diff)
downloadlinux-8ce79ec359ad9f9d94aabf16c1ea5b8f28481c0f.tar.xz
linux-8ce79ec359ad9f9d94aabf16c1ea5b8f28481c0f.zip
cifs: update multiplex loop to handle compounded responses
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2misc.c')
-rw-r--r--fs/cifs/smb2misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smb2misc.c b/fs/cifs/smb2misc.c
index ea964f759060..cb5728e3d87d 100644
--- a/fs/cifs/smb2misc.c
+++ b/fs/cifs/smb2misc.c
@@ -244,6 +244,7 @@ smb2_check_message(char *buf, unsigned int len, struct TCP_Server_Info *srvr)
* MacOS server pads after SMB2.1 write response with 3 bytes
* of junk. Other servers match RFC1001 len to actual
* SMB2/SMB3 frame length (header + smb2 response specific data)
+ * Some windows servers do too when compounding is used.
* Log the server error (once), but allow it and continue
* since the frame is parseable.
*/