diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2017-06-23 17:17:24 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-06-28 14:21:43 -0400 |
commit | 107c1d0a991abe632a051de697c5acc33c03fd96 (patch) | |
tree | f9d870d640b0b26e53daee63e18918dc1680d221 /net/sunrpc/xprtrdma/Makefile | |
parent | 91a08eae7979417bf10c98f149c6ea28e6632114 (diff) | |
download | op-kernel-dev-107c1d0a991abe632a051de697c5acc33c03fd96.zip op-kernel-dev-107c1d0a991abe632a051de697c5acc33c03fd96.tar.gz |
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>
Diffstat (limited to 'net/sunrpc/xprtrdma/Makefile')
0 files changed, 0 insertions, 0 deletions