diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-07-15 11:19:50 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-07-18 07:48:46 +0300 |
commit | 4a97739474c402e0a14cf6a432f1920262f6811c (patch) | |
tree | 0cf67c6e2458073b26411235dd2261b0f0f55735 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 20347fca71a387a3751f7bb270062616ddc5317a (diff) | |
download | linux-4a97739474c402e0a14cf6a432f1920262f6811c.tar.xz |
swiotlb: fix use after free on error handling path
Don't dereference "mem" after it has been freed. Flip the
two kfree()s around to address this bug.
Fixes: 26ffb91fa5e0 ("swiotlb: split up the global swiotlb lock")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions