From: Ben Skeggs Date: Mon, 22 Aug 2011 03:15:04 +0000 (+0000) Subject: drm/ttm: unbind ttm before destroying node in accel move cleanup X-Git-Tag: v3.1-rc4~56^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eac2095398668f989a3dd8d00be1b87850d78c01;p=pandora-kernel.git drm/ttm: unbind ttm before destroying node in accel move cleanup Nouveau makes the assumption that if a TTM is bound there will be a mm_node around for it and the backwards ordering here resulted in a use-after-free on some eviction paths. Signed-off-by: Ben Skeggs Signed-off-by: Dave Airlie --- Reading git-diff-tree failed