]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
CIFS: Fix SMB2+ interim response processing for read requests
authorPavel Shilovsky <pshilovsky@samba.org>
Sat, 27 Feb 2016 08:58:18 +0000 (11:58 +0300)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:26:24 +0000 (10:26 +0100)
commit3dce4d52b8cb096d5ff419401dcc7253e0a0d9b9
treefe0a9d65380294d27dc9bb0467abd708f67c5d71
parent81845d311de502ab75a7156612568714adabdc9b
CIFS: Fix SMB2+ interim response processing for read requests

BugLink: http://bugs.launchpad.net/bugs/1555640
commit 6cc3b24235929b54acd5ecc987ef11a425bd209e upstream.

For interim responses we only need to parse a header and update
a number credits. Now it is done for all SMB2+ command except
SMB2_READ which is wrong. Fix this by adding such processing.

Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Tested-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
fs/cifs/cifssmb.c