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)
committerSteve French <smfrench@gmail.com>
Mon, 29 Feb 2016 06:21:36 +0000 (00:21 -0600)
commit6cc3b24235929b54acd5ecc987ef11a425bd209e
tree8ed46956eecbdf369f25895f87129232511af7be
parentdeb7deff2f00bdbbcb3d560dad2a89ef37df837d
CIFS: Fix SMB2+ interim response processing for read requests

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>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifssmb.c