Skip to content
Commit d4e5160d authored by Long Li's avatar Long Li Committed by Steve French
Browse files

cifs: smbd: Update receive credits before sending and deal with credits roll...


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: default avatarLong Li <longli@microsoft.com>
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 3ffbe78a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment