diff options
| author | Brandon Kammerdiener <[email protected]> | 2025-04-24 15:32:51 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-04-25 15:36:59 +0000 |
| commit | 75673fda0c557ae26078177dd14d4857afbf128d (patch) | |
| tree | 7c1a500bbd7431dbd69b6c7d050bc818f967d8ec /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | selftests/bpf: Mitigate sockmap_ktls disconnect_after_delete failure (diff) | |
| download | kernel-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
