cifs: add credits from unmatched responses/messages
authorRonnie Sahlberg <lsahlber@redhat.com>
Tue, 5 Feb 2019 02:56:44 +0000 (12:56 +1000)
committerSteve French <stfrench@microsoft.com>
Tue, 5 Mar 2019 02:05:34 +0000 (20:05 -0600)
commiteca004523811f816bcfca3046ab54e1278e0973b
tree98a06bf9c758a0a2e15ad49d9aaf9750efd14936
parent74ea5f983f9e86ebb4b7ed611937776dab18c67e
cifs: add credits from unmatched responses/messages

We should add any credits granted to us from unmatched server responses.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/connect.c
fs/cifs/smb2misc.c