linux/net/sunrpc/xprtrdma
Chuck Lever e604aad2ca svcrdma: Use struct xdr_stream to decode ingress transport headers
The logic that checks incoming network headers has to be scrupulous.

De-duplicate: replace open-coded buffer overflow checks with the use
of xdr_stream helpers that are used most everywhere else XDR
decoding is done.

One minor change to the sanity checks: instead of checking the
length of individual segments, cap the length of the whole chunk
to be sure it can fit in the set of pages available in rq_pages.
This should be a better test of whether the server can handle the
chunks in each request.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2020-03-16 12:04:32 -04:00
..
backchannel.c xprtrdma: Allocate and map transport header buffers at connect time 2020-01-15 10:54:32 -05:00
frwr_ops.c xprtrdma: Fix DMA scatter-gather list mapping imbalance 2020-02-13 15:35:33 -05:00
Makefile xprtrdma: Remove support for FMR memory registration 2019-01-02 12:05:17 -05:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c xprtrdma: Allocate and map transport header buffers at connect time 2020-01-15 10:54:32 -05:00
svc_rdma_backchannel.c SUNRPC: Fix backchannel latency metrics 2019-11-21 17:05:14 -05:00
svc_rdma_recvfrom.c svcrdma: Use struct xdr_stream to decode ingress transport headers 2020-03-16 12:04:32 -04:00
svc_rdma_rw.c nfsd: Fix NFSv4 READ on RDMA when using readv 2020-03-16 12:04:31 -04:00
svc_rdma_sendto.c SUNRPC: Add xdr_pad_size() helper 2020-03-16 12:04:31 -04:00
svc_rdma_transport.c svcrdma: Remove svcrdma_cm_event() trace point 2020-03-16 12:04:32 -04:00
svc_rdma.c svcrdma: Remove svc_rdma_wq 2019-08-19 10:59:28 -04:00
transport.c xprtrdma: Eliminate per-transport "max pages" 2020-01-15 10:54:32 -05:00
verbs.c xprtrdma: DMA map rr_rdma_buf as each rpcrdma_rep is created 2020-01-15 10:54:32 -05:00
xprt_rdma.h xprtrdma: Allocate and map transport header buffers at connect time 2020-01-15 10:54:32 -05:00