aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorBrandon Kammerdiener <[email protected]>2025-04-24 15:32:51 +0000
committerAlexei Starovoitov <[email protected]>2025-04-25 15:36:59 +0000
commit75673fda0c557ae26078177dd14d4857afbf128d (patch)
tree7c1a500bbd7431dbd69b6c7d050bc818f967d8ec /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentselftests/bpf: Mitigate sockmap_ktls disconnect_after_delete failure (diff)
downloadkernel-75673fda0c557ae26078177dd14d4857afbf128d.tar.gz
kernel-75673fda0c557ae26078177dd14d4857afbf128d.zip
bpf: fix possible endless loop in BPF map iteration
The _safe variant used here gets the next element before running the callback, avoiding the endless loop condition. Signed-off-by: Brandon Kammerdiener <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Hou Tao <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions