linux_dsm_epyc7002/net/sunrpc/xprtrdma
Chuck Lever 264b0cdbcb xprtrdma: Replace rpcrdma_count_chunks()
Clean up chunk list decoding by using the xdr_stream set up in
rpcrdma_reply_handler. This hardens decoding by checking for buffer
overflow at every step while unmarshaling variable-length XDR
objects.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2017-08-08 10:52:00 -04:00
..
backchannel.c xprtrdma: Harden backchannel call decoding 2017-08-08 10:52:00 -04:00
fmr_ops.c xprtrdma: FMR does not need list_del_init() 2017-07-13 16:00:13 -04:00
frwr_ops.c xprtrdma: Fix documenting comments in frwr_ops.c 2017-07-13 16:00:13 -04:00
Makefile svcrdma: Remove svc_rdma_marshal.c 2017-06-28 14:21:43 -04:00
module.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
rpc_rdma.c xprtrdma: Replace rpcrdma_count_chunks() 2017-08-08 10:52:00 -04:00
svc_rdma_backchannel.c sunrpc: Const-ify all instances of struct rpc_xprt_ops 2017-08-01 16:10:35 -04:00
svc_rdma_recvfrom.c svcrdma: Properly compute .len and .buflen for received RPC Calls 2017-07-12 15:54:57 -04:00
svc_rdma_rw.c svcrdma: Remove svc_rdma_chunk_ctxt::cc_dir field 2017-07-12 15:55:00 -04:00
svc_rdma_sendto.c svcrdma: fix an incorrect check on -E2BIG and -EINVAL 2017-07-13 14:18:47 -04:00
svc_rdma_transport.c svcrdma: Clean up after converting svc_rdma_recvfrom to rdma_rw API 2017-07-12 15:54:59 -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 sunrpc: Const-ify all instances of struct rpc_xprt_ops 2017-08-01 16:10:35 -04:00
verbs.c xprtrdma: Add xdr_init_decode to rpcrdma_reply_handler() 2017-08-08 10:52:00 -04:00
xprt_rdma.h xprtrdma: Add xdr_init_decode to rpcrdma_reply_handler() 2017-08-08 10:52:00 -04:00