commit | 107c1d0a991abe632a051de697c5acc33c03fd96 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Fri Jun 23 17:17:24 2017 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Jun 28 14:21:43 2017 -0400 |
tree | f9d870d640b0b26e53daee63e18918dc1680d221 | |
parent | 91a08eae7979417bf10c98f149c6ea28e6632114 [diff] |
svcrdma: Avoid Send Queue overflow Sanity case: Catch the case where more Work Requests are being posted to the Send Queue than there are Send Queue Entries. This might happen if a client sends a chunk with more segments than there are SQEs for the transport. The server can't send that reply, so the transport will deadlock unless the client drops the RPC. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>