diff options
| author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-12-02 14:45:26 +0100 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2016-12-14 14:21:26 -0500 |
| commit | 17069d32a3408e69d257a3fe26f08de0336d958d (patch) | |
| tree | f3ba33f25fce3d6f3aae7900ba29bc277a15a68c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | IB/multicast: Check ib_find_pkey() return value (diff) | |
| download | linux-17069d32a3408e69d257a3fe26f08de0336d958d.tar.gz linux-17069d32a3408e69d257a3fe26f08de0336d958d.zip | |
IB/core: fix unmap_sg argument
__ib_umem_release calls dma_unmap_sg with a different number of
sg_entries than ib_umem_get uses for dma_map_sg. This might cause
trouble for implementations that merge sglist entries and results
in the following dma debug complaint:
DMA-API: device driver frees DMA sg list with different entry
count [map count=2] [unmap count=1]
Fix it by using the correct value.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
