[PATCH] drm/exynos: fix wrong pointer access at vm close.

2013-02-12 Thread Inki Dae
From: YoungJun Cho This patch fixes wrong pointer access issue to filp->f_op and filp->private_data. The exynos_drm_gem_mmap_ioctl() changes filp->f_op and filp->private_data temporarily and restore them to use original ones in exynos_drm_gem_mmap_buffer() but there was no lock between the chang

[PATCH] drm/exynos: fix wrong pointer access at vm close.

2013-02-12 Thread Inki Dae
From: YoungJun Cho This patch fixes wrong pointer access issue to filp->f_op and filp->private_data. The exynos_drm_gem_mmap_ioctl() changes filp->f_op and filp->private_data temporarily and restore them to use original ones in exynos_drm_gem_mmap_buffer() but there was no lock between the chang