aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2014-07-11 14:19:31 +0800
committerJoerg Roedel <jroedel@suse.de>2014-07-23 16:04:47 +0200
commit129ad28100cccc0ff01f2227dd8d0849c0114ade (patch)
tree465a8c978895755ef6279bdcd776d456e4d7574f /tools/perf/scripts/python/export-to-postgresql.py
parentiommu/vt-d: Fix possible invalid memory access caused by free_dmar_iommu() (diff)
downloadlinux-dev-129ad28100cccc0ff01f2227dd8d0849c0114ade.tar.xz
linux-dev-129ad28100cccc0ff01f2227dd8d0849c0114ade.zip
iommu/vt-d: Avoid freeing virtual machine domain in free_dmar_iommu()
Virtual machine domains are created by intel_iommu_domain_init() and should be destroyed by intel_iommu_domain_destroy(). So avoid freeing virtual machine domain data structure in free_dmar_iommu() when doamin->iommu_count reaches zero, otherwise it may cause invalid memory access because the IOMMU framework still holds references to the domain structure. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions