diff options
author | Jordan Rife <jordan@jrife.io> | 2025-05-02 09:15:22 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-05-02 10:54:38 -0700 |
commit | 3fae8959cda5d9d90ea1554385514d71e9103b02 (patch) | |
tree | fd976fc8a1fcced8459ad2b05f1a479e2feff346 /tools/testing/selftests/net/lib/py/utils.py | |
parent | 66d454e99d71857faf249486912e381ec83760b4 (diff) |
bpf: udp: Get rid of st_bucket_done
Get rid of the st_bucket_done field to simplify UDP iterator state and
logic. Before, st_bucket_done could be false if bpf_iter_udp_batch
returned a partial batch; however, with the last patch ("bpf: udp: Make
sure iter->batch always contains a full bucket snapshot"),
st_bucket_done == true is equivalent to iter->cur_sk == iter->end_sk.
Signed-off-by: Jordan Rife <jordan@jrife.io>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions