diff options
| author | Jordan Rife <[email protected]> | 2025-07-14 18:09:07 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2025-07-14 19:09:09 +0000 |
| commit | e25ab9b874a4bd8c6e3e5ce66cbe8a1dd4096e2e (patch) | |
| tree | ae51b1b5ceaa558fe16e381633ae2fe39c88d69f /net/unix/garbage.c | |
| parent | bpf: tcp: Make sure iter->batch always contains a full bucket snapshot (diff) | |
| download | kernel-e25ab9b874a4bd8c6e3e5ce66cbe8a1dd4096e2e.tar.gz kernel-e25ab9b874a4bd8c6e3e5ce66cbe8a1dd4096e2e.zip | |
bpf: tcp: Get rid of st_bucket_done
Get rid of the st_bucket_done field to simplify TCP iterator state and
logic. Before, st_bucket_done could be false if bpf_iter_tcp_batch
returned a partial batch; however, with the last patch ("bpf: tcp: 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 <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
