diff options
| author | Alexei Starovoitov <[email protected]> | 2024-01-13 19:01:44 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-01-13 19:01:44 +0000 |
| commit | 8e33d5db7d014ea2fb2994bbe42010d043997d60 (patch) | |
| tree | 71e53516b735b032818495974d52ea94d669012e /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | net: netdev_queue: netdev_txq_completed_mb(): fix wake condition (diff) | |
| parent | selftests/bpf: Test udp and tcp iter batching (diff) | |
| download | kernel-8e33d5db7d014ea2fb2994bbe42010d043997d60.tar.gz kernel-8e33d5db7d014ea2fb2994bbe42010d043997d60.zip | |
Merge branch 'bpf-fix-backward-progress-bug-in-bpf_iter_udp'
Martin KaFai Lau says:
====================
bpf: Fix backward progress bug in bpf_iter_udp
From: Martin KaFai Lau <[email protected]>
This patch set fixes an issue in bpf_iter_udp that makes backward
progress and prevents the user space process from finishing. There is
a test at the end to reproduce the bug.
Please see individual patches for details.
v3:
- Fixed the iter_fd check and local_port check in the
patch 3 selftest. (Yonghong)
- Moved jhash2 to test_jhash.h in the patch 3. (Yonghong)
- Added explanation in the bucket selection in the patch 3. (Yonghong)
v2:
- Added patch 1 to fix another bug that goes back to
the previous bucket
- Simplify the fix in patch 2 to always reset iter->offset to 0
- Add a test case to close all udp_sk in a bucket while
in the middle of the iteration.
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
