kernel-fxtec-pro1x/net/sunrpc/xprtrdma
Dan Aloni 95e7b4ee3d svcrdma: fix bounce buffers for unaligned offsets and multiple pages
[ Upstream commit c327a310ec4d6ecbea13185ed56c11def441d9ab ]

This was discovered using O_DIRECT at the client side, with small
unaligned file offsets or IOs that span multiple file pages.

Fixes: e248aa7be86 ("svcrdma: Remove max_sge check at connect time")
Signed-off-by: Dan Aloni <dan@kernelim.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-30 10:38:22 +01:00
..
backchannel.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
fmr_ops.c net/xprtrdma: Simplify ib_post_(send|recv|srq_recv)() calls 2018-07-24 16:06:37 -06:00
frwr_ops.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c xprtrdma: Prevent leak of rpcrdma_rep objects 2019-12-05 09:20:59 +01:00
svc_rdma.c sunrpc: remove redundant variables 'checksumlen','blocksize' and 'data' 2018-08-09 16:11:21 -04:00
svc_rdma_backchannel.c svcrdma: Fix leak of transport addresses 2020-10-01 13:14:40 +02:00
svc_rdma_recvfrom.c svcrdma: Fix another Receive buffer leak 2020-08-26 10:31:01 +02:00
svc_rdma_rw.c svcrdma: Fix page leak in svc_rdma_recv_read_chunk() 2020-08-19 08:15:02 +02:00
svc_rdma_sendto.c svcrdma: fix bounce buffers for unaligned offsets and multiple pages 2020-10-30 10:38:22 +01:00
svc_rdma_transport.c svcrdma: Fix leak of svc_rdma_recv_ctxt objects 2020-05-02 17:25:52 +02:00
transport.c sunrpc: Fix connect metrics 2019-11-24 08:19:49 +01:00
verbs.c xprtrdma: Fix use-after-free in rpcrdma_post_recvs 2020-01-27 14:50:59 +01:00
xprt_rdma.h NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00