summaryrefslogtreecommitdiff
path: root/kernel/time/time.c
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2018-02-24 13:42:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-24 09:34:14 +0200
commit94911a0cded960b5e85f9ef33e9861007e84cd16 (patch)
tree06e356cf84aacbc213b4c6d711861dfd022a2ad5 /kernel/time/time.c
parent2413ed888ab4c43311e5a16df3abdea2ab2df983 (diff)
iommu/vt-d: Fix a potential memory leak
commit bbe4b3af9d9e3172fb9aa1f8dcdfaedcb381fc64 upstream. A memory block was allocated in intel_svm_bind_mm() but never freed in a failure path. This patch fixes this by free it to avoid memory leakage. Cc: Ashok Raj <ashok.raj@intel.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Cc: <stable@vger.kernel.org> # v4.4+ Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Fixes: 2f26e0a9c9860 ('iommu/vt-d: Add basic SVM PASID support') Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/time/time.c')
0 files changed, 0 insertions, 0 deletions