]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/iommu/intel-svm.c
iommu/vt-d: Fix NULL pointer dereference in prq_event_thread()
[linux.git] / drivers / iommu / intel-svm.c
index 4a03e50909520e5eb40d6245fa3e1affda769780..88715090752670a5701cde52f8a4ce11baec1da4 100644 (file)
@@ -273,7 +273,6 @@ static void intel_mm_release(struct mmu_notifier *mn, struct mm_struct *mm)
 }
 
 static const struct mmu_notifier_ops intel_mmuops = {
-       .flags = MMU_INVALIDATE_DOES_NOT_BLOCK,
        .release = intel_mm_release,
        .change_pte = intel_change_pte,
        .invalidate_range = intel_invalidate_range,
@@ -596,7 +595,7 @@ static irqreturn_t prq_event_thread(int irq, void *d)
                        pr_err("%s: Page request without PASID: %08llx %08llx\n",
                               iommu->name, ((unsigned long long *)req)[0],
                               ((unsigned long long *)req)[1]);
-                       goto bad_req;
+                       goto no_pasid;
                }
 
                if (!svm || svm->pasid != req->pasid) {