diff options
author | Honggang LI <[email protected]> | 2024-05-16 17:50:52 +0800 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-05-30 16:20:18 +0300 |
commit | 03fa18a992d5626fd7bf3557a52e826bf8b326b3 (patch) | |
tree | ce5b431e5c933c9d3f5b4aef3e014ff5fffb074e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 056620da899527c14cf36e5019a0decaf4cf0f79 (diff) |
RDMA/rxe: Fix data copy for IB_SEND_INLINE
For RDMA Send and Write with IB_SEND_INLINE, the memory buffers
specified in sge list will be placed inline in the Send Request.
The data should be copied by CPU from the virtual addresses of
corresponding sge list DMA addresses.
Cc: [email protected]
Fixes: 8d7c7c0eeb74 ("RDMA: Add ib_virt_dma_to_page()")
Signed-off-by: Honggang LI <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Zhu Yanjun <[email protected]>
Reviewed-by: Li Zhijian <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions