CIFS: Count SMB3 credits for malformed pending responses
Even if a response is malformed, we should count credits granted by the server to avoid miscalculations and unnecessary reconnects due to client or server bugs. If the response has been received partially, the session will be reconnected anyway on the next iteration of the demultiplex thread, so counting credits for such cases shouldn't break things. Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Steve French

vecāks
82e0457af5
revīzija
66265f134a
@@ -1054,7 +1054,7 @@ cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid)
|
||||
}
|
||||
|
||||
if (server->ops->is_status_pending &&
|
||||
server->ops->is_status_pending(buf, server, length))
|
||||
server->ops->is_status_pending(buf, server))
|
||||
return -1;
|
||||
|
||||
if (!mid)
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user