aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <[email protected]>2020-07-15 17:31:36 +0000
committerJ. Bruce Fields <[email protected]>2020-07-22 20:47:14 +0000
commit9affa435817711861d774f5626c393c80f16d044 (patch)
treecdbc309d8b515f478f1595b617911b84141bc028 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentSUNRPC: Add missing definition of ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE (diff)
downloadkernel-9affa435817711861d774f5626c393c80f16d044.tar.gz
kernel-9affa435817711861d774f5626c393c80f16d044.zip
nfsd4: fix NULL dereference in nfsd/clients display code
We hold the cl_lock here, and that's enough to keep stateid's from going away, but it's not enough to prevent the files they point to from going away. Take fi_lock and a reference and check for NULL, as we do in other code. Reported-by: NeilBrown <[email protected]> Fixes: 78599c42ae3c ("nfsd4: add file to display list of client's opens") Reviewed-by: NeilBrown <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions