commit | 3ffbe78aff93586d3e09e8af4501c563ab367c75 | [log] [tgz] |
---|---|---|
author | Long Li <longli@microsoft.com> | Mon Mar 30 11:04:07 2020 -0700 |
committer | Steve French <stfrench@microsoft.com> | Tue Apr 07 12:41:16 2020 -0500 |
tree | b6450147a9a1092f6b445dcbde85dba5cba07b9d | |
parent | 072a14ec6386829314ca96c725175ac1631360da [diff] |
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>