diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-02-19 14:07:22 +0800 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2014-03-04 17:50:59 +0100 |
commit | 816997d03bca9fabcee65f3481eb0297103eceb7 (patch) | |
tree | 73c64708261a149794863fc1fe31ef62e563c8f0 /drivers/virt | |
parent | 989d51fc99e9df4fb47f34bccf162c59aa386e8c (diff) |
iommu/vt-d: Avoid caching stale domain_device_info and fix memory leak
Function device_notifier() in intel-iommu.c fails to remove
device_domain_info data structures for PCI devices if they are
associated with si_domain because iommu_no_mapping() returns true
for those PCI devices. This will cause memory leak and caching of
stale information in domain->devices list.
So fix the issue by not calling iommu_no_mapping() and skipping check
of iommu_pass_through.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions