summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDmitry Osipenko <dmitry.osipenko@collabora.com>2022-06-30 23:00:57 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2022-08-09 19:15:42 +0300
commitdf4aaf015775221dde8a51ee09edb919981f091e (patch)
tree94c9593cbd9b86cf80bd258ad628ff7a01d61cd8 /security
parent6f2c8d5f16594a13295d153245e0bb8166db7ac9 (diff)
downloadlinux-df4aaf015775221dde8a51ee09edb919981f091e.tar.xz
drm/shmem-helper: Add missing vunmap on error
The vmapping of dma-buf may succeed, but DRM SHMEM rejects the IOMEM mapping, and thus, drm_gem_shmem_vmap_locked() should unvmap the IOMEM before erroring out. Cc: stable@vger.kernel.org Fixes: 49a3f51dfeee ("drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends") Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20220630200058.1883506-2-dmitry.osipenko@collabora.com
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions