diff options
author | 2025-05-02 09:15:22 -0700 | |
---|---|---|
committer | 2025-05-02 10:54:38 -0700 | |
commit | 3fae8959cda5d9d90ea1554385514d71e9103b02 (patch) | |
tree | fd976fc8a1fcced8459ad2b05f1a479e2feff346 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: udp: Make sure iter->batch always contains a full bucket snapshot (diff) | |
download | wireguard-linux-3fae8959cda5d9d90ea1554385514d71e9103b02.tar.xz wireguard-linux-3fae8959cda5d9d90ea1554385514d71e9103b02.zip |
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions