diff options
author | Max Gurtovoy <[email protected]> | 2020-02-20 12:08:18 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-02-20 13:19:21 -0400 |
commit | 6affca140cbea01f497c4f4e16f1e2be7f74bd04 (patch) | |
tree | cb1d18f1fda10418f9f0d77bc4693abaf6a05ff8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4ca501d6aaf21de31541deac35128bbea8427aa6 (diff) |
RDMA/rw: Fix error flow during RDMA context initialization
In case the SGL was mapped for P2P DMA operation, we must unmap it using
pci_p2pdma_unmap_sg during the error unwind of rdma_rw_ctx_init()
Fixes: 7f73eac3a713 ("PCI/P2PDMA: Introduce pci_p2pdma_unmap_sg()")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Max Gurtovoy <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions