]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/vmwgfx: Fix kernel NULL pointer dereference on older hardware
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 12 Oct 2015 08:49:39 +0000 (01:49 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 13 Oct 2015 07:16:48 +0000 (00:16 -0700)
commited7d78b2da32198ca4c70172e3b63c6b3e2c570b
tree41178e69ad96f4c93605e3cdff381091f0b9937e
parent575f9c8604e0b4c7b36fb41fc5fd280a3c336906
drm/vmwgfx: Fix kernel NULL pointer dereference on older hardware

The commit "drm/vmwgfx: Fix up user_dmabuf refcounting", while fixing a
kernel crash introduced a NULL pointer dereference on older hardware.
Fix this.

Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c