2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-01 09:43:24 +08:00
linux-next/net/sunrpc/xprtrdma
Chuck Lever 7075a867ce svcrdma: Clean up svc_rdma_build_read_chunk()
Dan Carpenter <dan.carpenter@oracle.com> observed that the while()
loop in svc_rdma_build_read_chunk() does not document the assumption
that the loop interior is always executed at least once.

Defensive: the function now returns -EINVAL if this assumption
fails.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2017-08-24 22:13:50 -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: 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 PAGE_MASK with offset_in_page() 2017-07-13 16:00:13 -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: Properly compute .len and .buflen for received RPC Calls 2017-07-12 15:54:57 -04:00
svc_rdma_rw.c svcrdma: Clean up svc_rdma_build_read_chunk() 2017-08-24 22:13:50 -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 sunrpc: Const-ify instances of struct svc_xprt_ops 2017-08-24 22:13:50 -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: Fix client lock-up after application signal fires 2017-07-13 16:00:11 -04:00
verbs.c xprtrdma: Demote "connect" log messages 2017-07-13 16:00:12 -04:00
xprt_rdma.h xprtrdma: Fix client lock-up after application signal fires 2017-07-13 16:00:11 -04:00