summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc/svc_rdma.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2017-06-23 17:17:24 -0400
committerJ. Bruce Fields <bfields@redhat.com>2017-06-28 14:21:43 -0400
commit107c1d0a991abe632a051de697c5acc33c03fd96 (patch)
treef9d870d640b0b26e53daee63e18918dc1680d221 /include/linux/sunrpc/svc_rdma.h
parent91a08eae7979417bf10c98f149c6ea28e6632114 (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>
Diffstat (limited to 'include/linux/sunrpc/svc_rdma.h')
0 files changed, 0 insertions, 0 deletions