linux/net/sunrpc/xprtrdma
Chuck Lever f012e95b37 SUNRPC: Trap RDMA segment overflows
Prevent svc_rdma_build_writes() from walking off the end of a Write
chunk's segment array. Caught with KASAN.

The test that this fix replaces is invalid, and might have been left
over from an earlier prototype of the PCL work.

Fixes: 7a1cbfa180 ("svcrdma: Use parsed chunk lists to construct RDMA Writes")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2022-06-02 13:05:58 -04:00
..
backchannel.c xprtrdma: Remove definitions of RPCDBG_FACILITY 2022-01-14 10:35:08 -05:00
frwr_ops.c SUNRPC/xprtrdma: Convert GFP_NOFS to GFP_KERNEL 2022-02-25 18:50:12 -05:00
Makefile svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
module.c SUNRPC: xprt_load_transport() needs to support the netid "rdma6" 2020-12-02 14:05:52 -05:00
rpc_rdma.c xprtrdma: Remove definitions of RPCDBG_FACILITY 2022-01-14 10:35:08 -05:00
svc_rdma_backchannel.c SUNRPC: Rename svc_close_xprt() 2022-02-28 10:26:40 -05:00
svc_rdma_pcl.c svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
svc_rdma_recvfrom.c SUNRPC: Remove svc_rqst::rq_xprt_hlen 2022-05-19 12:25:39 -04:00
svc_rdma_rw.c SUNRPC: Trap RDMA segment overflows 2022-06-02 13:05:58 -04:00
svc_rdma_sendto.c svcrdma: Split the svcrdma_wc_send() tracepoint 2021-10-04 15:40:15 -04:00
svc_rdma_transport.c SUNRPC: Use RMW bitops in single-threaded hot paths 2022-05-23 11:06:29 -04:00
svc_rdma.c svcrdma: Deprecate stat variables that are no longer used 2021-01-25 09:36:28 -05:00
transport.c SUNRPC: improve 'swap' handling: scheduling and PF_MEMALLOC 2022-03-13 12:59:35 -04:00
verbs.c SUNRPC/xprtrdma: Convert GFP_NOFS to GFP_KERNEL 2022-02-25 18:50:12 -05:00
xprt_rdma.h xprtrdma: Remove rpcrdma_ep::re_implicit_roundup 2021-10-20 18:09:54 -04:00