diff options
author | Jerry Snitselaar <jsnitsel@redhat.com> | 2019-01-17 12:29:02 -0700 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-01-22 11:55:31 +0100 |
commit | 51d8838d66d3249508940d8f59b07701f2129723 (patch) | |
tree | 2d41fedd0a9c04f8079c0b076b03841883326977 /lib/timerqueue.c | |
parent | e8e683ae9a736407a20135df7809090a446db707 (diff) | |
download | linux-51d8838d66d3249508940d8f59b07701f2129723.tar.bz2 |
iommu/amd: Call free_iova_fast with pfn in map_sg
In the error path of map_sg, free_iova_fast is being called with
address instead of the pfn. This results in a bad value getting into
the rcache, and can result in hitting a BUG_ON when
iova_magazine_free_pfns is called.
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
Fixes: 80187fd39dcb ("iommu/amd: Optimize map_sg and unmap_sg")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions