summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2019-01-16 22:12:41 +0300
committerSteve French <stfrench@microsoft.com>2019-03-06 03:10:01 +0300
commit335b7b62ffb69d18055f2bb6f3a029263a07c735 (patch)
tree27d3e4a9edd427da8e4bae69a4e54b37c89d661a /tools
parent5b964852609b2826126a526851f316fc06f5e37e (diff)
downloadlinux-335b7b62ffb69d18055f2bb6f3a029263a07c735.tar.xz
CIFS: Respect reconnect in MTU credits calculations
Every time after a session reconnect we don't need to account for credits obtained in previous sessions. Introduce new struct cifs_credits which contains both credits value and reconnect instance of the time those credits were taken. Modify a routine that add credits back to handle the reconnect instance by assuming zero credits if the reconnect happened after the credits were obtained and before we decided to add them back due to some errors during sending. This patch fixes the MTU credits cases. The subsequent patch will handle non-MTU ones. Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions