From 4ad72b7fadd285f849439cdbc408f8b847cef704 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 3 Sep 2014 19:23:37 +0100 Subject: [PATCH] drm/i915: Fix unsafe vma iteration in i915_drop_caches When unbinding, there is a possibility that we drop the active reference on the object, thereby freeing it. If that happens, we may destroy the vm link as well as the object and vma. So iterate carefully. Signed-off-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-format-patch failed