]> 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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 9 Mar 2016 18:15:16 +0000 (13:15 -0500)
commit78b821d76e779822877604052f06219294e9e038
tree22ce57525963b34983429b801e8b6d0e88dc12b5
parent94a7d752e43717119822fee8b04be903e694017e
CIFS: Fix SMB2+ interim response processing for read requests

[ Upstream commit 6cc3b24235929b54acd5ecc987ef11a425bd209e ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
fs/cifs/cifssmb.c