]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Fix credit calculation for encrypted reads with errors
authorPavel Shilovsky <pshilov@microsoft.com>
Fri, 18 Jan 2019 23:38:11 +0000 (15:38 -0800)
committerSteve French <stfrench@microsoft.com>
Thu, 24 Jan 2019 20:52:05 +0000 (14:52 -0600)
commitdc34ecb5c3c8e9c5dcb1a17b3d4a9c3f6f9dfa30
tree060d7ec05e67b14b327dcf61a32b83c579cb74df
parentded8a83e237fd3f0320c3c37bd61cfee585d235d
CIFS: Fix credit calculation for encrypted reads with errors

We do need to account for credits received in error responses
to read requests on encrypted sessions.

Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c