diff options
author | Long Li <longli@microsoft.com> | 2020-03-30 20:04:07 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-04-07 19:41:16 +0200 |
commit | 3ffbe78aff93586d3e09e8af4501c563ab367c75 (patch) | |
tree | b6450147a9a1092f6b445dcbde85dba5cba07b9d /drivers/virt/fsl_hypervisor.c | |
parent | cifs: smbd: Merge code to track pending packets (diff) | |
download | linux-3ffbe78aff93586d3e09e8af4501c563ab367c75.tar.xz linux-3ffbe78aff93586d3e09e8af4501c563ab367c75.zip |
cifs: smbd: Check send queue size before posting a send
Sometimes the remote peer may return more send credits than the send queue
depth. If all the send credits are used to post senasd, we may overflow the
send queue.
Fix this by checking the send queue size before posting a send.
Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/virt/fsl_hypervisor.c')
0 files changed, 0 insertions, 0 deletions