]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Do not assume one credit for async responses
authorPavel Shilovsky <pshilov@microsoft.com>
Tue, 15 Jan 2019 23:08:48 +0000 (15:08 -0800)
committerSteve French <stfrench@microsoft.com>
Thu, 24 Jan 2019 20:52:06 +0000 (14:52 -0600)
commitb7a409b9da74a979db15472c50a67173551f668e
tree0456d0fd14631d311e855a4fc64ea1d85ed7699a
parent0edcbd41e9c37ee02a384a33a14bcfdae8116d58
CIFS: Do not assume one credit for async responses

If we don't receive a response we can't assume that the server
granted one credit. Assume zero credits in such cases.

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/smb2pdu.c