]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix race in GEM VA map IOCTL v2
authorChristian König <christian.koenig@amd.com>
Fri, 27 Jan 2017 14:58:43 +0000 (15:58 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Feb 2017 18:50:03 +0000 (13:50 -0500)
commitb194ee694e03e8c588be7d10bdcf3452974d9fc8
tree799aa6a9627fdade2632fbff8fc14d6d0900d7cc
parent060ea2da6dea2e6ba30a569c084e550b27145fcc
drm/amdgpu: fix race in GEM VA map IOCTL v2

Somebody could try to free the bo_va between mapping and updating it.

v2: fix typos in comment

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c