]> 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)
commitf46021b373eb07010e2640fd1599be3b8346e575
tree0456d0fd14631d311e855a4fc64ea1d85ed7699a
parent5434a59060aafdb1965cafb26ec052fa321c02ae
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