]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Mar 2016 23:31:54 +0000 (15:31 -0800)
commitad1ec23ce4e167adffe90faa5526c89a14491866
treee5002fdc2dbccee3e488af0d1ee7e899271ca35e
parent9f2c4c9b3e4b2647af324d565f401e2b6fc96649
CIFS: Fix SMB2+ interim response processing for read requests

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>
fs/cifs/cifssmb.c