From: Thomas Hellstrom Date: Tue, 15 Apr 2014 16:25:48 +0000 (+0200) Subject: drm/vmwgfx: Make sure user-space can't DMA across buffer object boundaries v2 X-Git-Tag: omap-for-v3.16/pm-signed~33^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbd75e97a525e3819c02dc18bc2d67aa544c9e45;p=pandora-kernel.git drm/vmwgfx: Make sure user-space can't DMA across buffer object boundaries v2 We already check that the buffer object we're accessing is registered with the file. Now also make sure that we can't DMA across buffer object boundaries. v2: Code commenting update. Cc: stable@vger.kernel.org Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- Reading git-diff-tree failed