summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2017-02-10 14:07:22 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-15 13:23:41 +0800
commitbbf2234494afd14a720d61a233c21b95e4261326 (patch)
treeacff483ada06a7a1602dd7070aa31fa750951a33 /tools/perf/scripts/python/export-to-postgresql.py
parentcfb725f6d3d31355fa4510da7d7bdce807045b42 (diff)
crypto: caam - fix DMA API leaks for multiple setkey() calls
setkey() callback may be invoked multiple times for the same tfm. In this case, DMA API leaks are caused by shared descriptors (and key for caamalg) being mapped several times and unmapped only once. Fix this by performing mapping / unmapping only in crypto algorithm's cra_init() / cra_exit() callbacks and sync_for_device in the setkey() tfm callback. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions