diff options
author | Christian König <christian.koenig@amd.com> | 2019-07-17 09:58:47 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-09-16 10:42:55 -0500 |
commit | b65709a92156b850840edba9f9932e10c235d44e (patch) | |
tree | c5ce9c458424f5061d3fc603344b516f1adcaaf5 /lib/test_module.c | |
parent | 061468c405fdf3b518d03bebbeafa0a9dc7300c2 (diff) | |
download | linux-b65709a92156b850840edba9f9932e10c235d44e.tar.bz2 |
drm/amdgpu: reserve the root PD while freeing PASIDs
Free the pasid only while the root PD is reserved. This prevents use after
free in the page fault handling.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/test_module.c')
0 files changed, 0 insertions, 0 deletions