]> git.itanic.dy.fi Git - linux-stable/commit
iommu/amd: Free domain id when free a domain of struct dma_ops_domain
authorBaoquan He <bhe@redhat.com>
Thu, 15 Sep 2016 08:50:52 +0000 (16:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Nov 2016 09:48:36 +0000 (10:48 +0100)
commitf029e7b34f25cb1cc6ff46d48dfa2a458611b7a9
tree317cf8cb1e40202deafd2588ac879f1fa3395c42
parentf5bb84163704abf1ecc0d718a48ecb79caeda491
iommu/amd: Free domain id when free a domain of struct dma_ops_domain

commit c3db901c54466a9c135d1e6e95fec452e8a42666 upstream.

The current code missed freeing domain id when free a domain of
struct dma_ops_domain.

Signed-off-by: Baoquan He <bhe@redhat.com>
Fixes: ec487d1a110a ('x86, AMD IOMMU: add domain allocation and deallocation functions')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/amd_iommu.c