summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-03-08 14:20:07 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2010-03-08 14:20:07 +0100
commit8b408fe4f853dcfa18d133aa4cf1d7546b4c3870 (patch)
tree1eaa55a03e58f8499ac653c149dd12985129137d /mm
parent3551a708f35fc712af43aeb7f541512c5cfc4936 (diff)
downloadlinux-8b408fe4f853dcfa18d133aa4cf1d7546b4c3870.tar.gz
linux-8b408fe4f853dcfa18d133aa4cf1d7546b4c3870.tar.bz2
linux-8b408fe4f853dcfa18d133aa4cf1d7546b4c3870.zip
x86/amd-iommu: Use helper function to destroy domain
In the amd_iommu_domain_destroy the protection_domain_free function is partly reimplemented. The 'partly' is the bug here because the domain is not deleted from the domain list. This results in use-after-free errors and data-corruption. Fix it by just using protection_domain_free instead. Cc: stable@kernel.org Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions