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:34:50 +0000 (15:34 -0800)
commitb52a395883fa5b793137d57d90e1fd980e42748f
treef3bc2db7e9f53fc08629f899a8ede6efd24bec47
parent77f0cc0e5e9cd79f93acb3e7baae425638b8f293
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