diff options
| author | Hui Tang <tanghui20@huawei.com> | 2021-05-10 17:02:55 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-05-21 16:17:30 +0800 |
| commit | 0b0553b701f830d820ba9026e5799c24e400a4b5 (patch) | |
| tree | bb79515307a0813ffcb345594f2006eb5a4a2001 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | crypto: hisilicon/hpre - extend 'cra_driver_name' with curve name (diff) | |
| download | linux-0b0553b701f830d820ba9026e5799c24e400a4b5.tar.gz linux-0b0553b701f830d820ba9026e5799c24e400a4b5.zip | |
crypto: hisilicon/hpre - fix unmapping invalid dma address
Currently, an invalid dma address may be unmapped when calling
'xx_data_clr_all' in error path, so check dma address of sqe in/out
if initialized before calling 'dma_free_coherent' or 'dma_unmap_single'.
Fixes: a9214b0b6ed2 ("crypto: hisilicon - fix the check on dma address")
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
