aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2025-03-24 15:00:24 +0000
committerSteve French <[email protected]>2025-03-28 00:12:00 +0000
commitddb7ea36ba7129c2ed107e2186591128618864e1 (patch)
treed046824c360248ae39aaf159c5581a7dbb1fe7a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentksmbd: fix multichannel connection failure (diff)
downloadkernel-ddb7ea36ba7129c2ed107e2186591128618864e1.tar.gz
kernel-ddb7ea36ba7129c2ed107e2186591128618864e1.zip
ksmbd: fix r_count dec/increment mismatch
r_count is only increased when there is an oplock break wait, so r_count inc/decrement are not paired. This can cause r_count to become negative, which can lead to a problem where the ksmbd thread does not terminate. Fixes: 3aa660c05924 ("ksmbd: prevent connection release during oplock break notification") Reported-by: Norbert Szetei <[email protected]> Tested-by: Norbert Szetei <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions