diff options
author | Long Li <longli@microsoft.com> | 2020-04-02 13:42:06 -0700 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-04-07 12:41:16 -0500 |
commit | d4e5160d1a0bf089af41c21f273a507e6ace45cd (patch) | |
tree | 27691d264d448e7b08419eff205e4a27eb737111 /fs/cifs/cifsglob.h | |
parent | 3ffbe78aff93586d3e09e8af4501c563ab367c75 (diff) | |
download | lwn-d4e5160d1a0bf089af41c21f273a507e6ace45cd.tar.gz lwn-d4e5160d1a0bf089af41c21f273a507e6ace45cd.zip |
cifs: smbd: Update receive credits before sending and deal with credits roll back on failure before sending
Recevie credits should be updated before sending the packet, not
before a work is scheduled. Also, the value needs roll back if
something fails and cannot send.
Signed-off-by: Long Li <longli@microsoft.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
0 files changed, 0 insertions, 0 deletions