aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2019-01-17 15:29:26 -0800
committerSteve French <stfrench@microsoft.com>2019-01-24 14:52:05 -0600
commit8004c78c68e894e4fd5ac3c22cc22eb7dc24cabc (patch)
tree374961276f54749703015110ad665a20f56f8531 /fs/cifs/smb2ops.c
parentCIFS: Do not reconnect TCP session in add_credits() (diff)
downloadlinux-dev-8004c78c68e894e4fd5ac3c22cc22eb7dc24cabc.tar.xz
linux-dev-8004c78c68e894e4fd5ac3c22cc22eb7dc24cabc.zip
CIFS: Fix credits calculations for reads with errors
Currently we mark MID as malformed if we get an error from server in a read response. This leads to not properly processing credits in the readv callback. Fix this by marking such a response as normal received response and process it appropriately. 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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions