diff options
| author | Bob Pearson <[email protected]> | 2021-07-29 22:00:38 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-08-02 15:45:22 +0000 |
| commit | e2a05339fa1188b6b37540f4611893ac4c534fa2 (patch) | |
| tree | 52c9847587e4fe81ad97e994f536ce28f6b35102 /lib/debugobjects.c | |
| parent | RDMA/cma: Revert INIT-INIT patch (diff) | |
| download | kernel-e2a05339fa1188b6b37540f4611893ac4c534fa2.tar.gz kernel-e2a05339fa1188b6b37540f4611893ac4c534fa2.zip | |
RDMA/rxe: Use the correct size of wqe when processing SRQ
The memcpy() that copies a WQE from a SRQ the QP uses an incorrect size.
The size should have been the size of the rxe_send_wqe struct not the size
of a pointer to it. The result is that IO operations using a SRQ on the
responder side will fail.
Fixes: ec0fa2445c18 ("RDMA/rxe: Fix over copying in get_srq_wqe")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bob Pearson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
