linux/net/sunrpc/xprtrdma
Jeff Layton 3cbe01a94c svcrdma: fix offset calculation for non-page aligned sge entries
The xdr_off value in dma_map_xdr gets passed to ib_dma_map_page as the
offset into the page to be mapped. This calculation does not correctly
take into account the case where the data starts at some offset into
the page. Increment the xdr_off by the page_base to ensure that it is
respected.

Cc: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2014-03-28 18:02:13 -04:00
..
Makefile xprtrdma: add separate Kconfig options for NFSoRDMA client and server support 2014-03-28 18:02:12 -04:00
rpc_rdma.c SUNRPC: Eliminate task->tk_xprt accesses that bypass rcu_dereference() 2013-02-01 10:13:47 -05:00
svc_rdma_marshal.c svcrdma: underflow issue in decode_write_list() 2013-07-15 11:46:23 -04:00
svc_rdma_recvfrom.c Fix regression in NFSRDMA server 2014-03-28 18:02:11 -04:00
svc_rdma_sendto.c svcrdma: fix offset calculation for non-page aligned sge entries 2014-03-28 18:02:13 -04:00
svc_rdma_transport.c svcrdma: fix printk when memory allocation fails 2014-03-27 16:31:56 -04:00
svc_rdma.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00
transport.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00
verbs.c IB/core: Add "type 2" memory windows support 2013-02-21 11:51:45 -08:00
xprt_rdma.h SUNRPC: Eliminate task->tk_xprt accesses that bypass rcu_dereference() 2013-02-01 10:13:47 -05:00