summaryrefslogtreecommitdiff
path: root/lib/stmp_device.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 /lib/stmp_device.c
parentef68e831840c40c7d01b328b3c0f5d8c4796c232 (diff)
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 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions