linux_dsm_epyc7002/net/sunrpc/xprtrdma
Chuck Lever 3c22f32607 svcrdma: Improve Write chunk sanity checking
Identify malformed transport headers and unsupported chunk
combinations as early as possible.

- Reject RPC-over-RDMA messages that contain more than one Write
chunk, since this implementation does not support more than one per
message.

- Ensure that segment lengths are not crazy.

- Ensure that the chunk's segment count is not crazy.

With a 1KB inline threshold, the largest number of Write segments
that can be conveyed is about 60 (for a RDMA_NOMSG Reply message).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2017-06-28 14:21:44 -04:00
..
backchannel.c xprtrdma: Delete an error message for a failed memory allocation in xprt_rdma_bc_setup() 2017-05-24 07:53:37 -04:00
fmr_ops.c xprtrdma: Refactor management of mw_list field 2017-02-10 14:02:37 -05:00
frwr_ops.c xprtrdma: Refactor management of mw_list field 2017-02-10 14:02:37 -05:00
Makefile svcrdma: Remove svc_rdma_marshal.c 2017-06-28 14:21:43 -04:00
module.c
rpc_rdma.c xprtrdma: Squelch ENOBUFS warnings 2017-04-25 16:12:33 -04:00
svc_rdma_backchannel.c svcrdma: Clean up RPC-over-RDMA backchannel reply processing 2017-04-25 17:25:55 -04:00
svc_rdma_recvfrom.c svcrdma: Improve Write chunk sanity checking 2017-06-28 14:21:44 -04:00
svc_rdma_rw.c svcrdma: Avoid Send Queue overflow 2017-06-28 14:21:43 -04:00
svc_rdma_sendto.c svcrdma: Avoid Send Queue overflow 2017-06-28 14:21:43 -04:00
svc_rdma_transport.c svcrdma: Remove the req_map cache 2017-04-25 17:25:55 -04:00
svc_rdma.c svcrdma: Reduce size of sge array in struct svc_rdma_op_ctxt 2017-04-25 17:25:55 -04:00
transport.c xprtrdma: Support unplugging an HCA from under an NFS mount 2017-04-25 16:12:24 -04:00
verbs.c xprtrdma: Annotate receive workqueue 2017-04-25 16:12:31 -04:00
xprt_rdma.h xprtrdma: Remove rpcrdma_buffer::rb_pool 2017-04-25 16:12:35 -04:00