]> Git Repo - linux.git/commit
CIFS: Do not set credits to 1 if the server didn't grant anything
authorPavel Shilovsky <[email protected]>
Fri, 4 Jan 2019 00:45:13 +0000 (16:45 -0800)
committerSteve French <[email protected]>
Thu, 10 Jan 2019 20:32:36 +0000 (14:32 -0600)
commit33fa5c8b8a7dbe6353a56eaa654b790348890d42
tree708cde8bdf69f050239ff0f23b2deac9034a377d
parentb983f7e92348d7e7d091db1b78b7915e9dd3d63a
CIFS: Do not set credits to 1 if the server didn't grant anything

Currently we reset the number of total credits granted by the server
to 1 if the server didn't grant us anything int the response. This
violates the SMB3 protocol - we need to trust the server and use
the credit values from the response. Fix this by removing the
corresponding code.

Signed-off-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
CC: Stable <[email protected]>
fs/cifs/transport.c
This page took 0.052124 seconds and 4 git commands to generate.