summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2018-10-10 08:29:06 +0300
committerSteve French <stfrench@microsoft.com>2018-10-24 05:16:04 +0300
commitcb5c2e63948451d38c977685fffc06e23beb4517 (patch)
tree6c4a3a239906d5fe2708aefe121b1f5f3bd1163a /fs/cifs/smb2proto.h
parentb340a4d4aa18691a6d8b0e747840b0cf30dc01cb (diff)
downloadlinux-cb5c2e63948451d38c977685fffc06e23beb4517.tar.xz
cifs: fix a credits leak for compund commands
When processing the mids for compounds we would only add credits based on the last successful mid in the compound which would leak credits and eventually triggering a re-connect. Fix this by splitting the mid processing part into two loops instead of one where the first loop just waits for all mids and then counts how many credits we were granted for the whole compound. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
0 files changed, 0 insertions, 0 deletions