diff options
| author | Jordan Rife <jordan@jrife.io> | 2025-07-14 21:09:07 +0300 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-07-14 22:09:09 +0300 |
| commit | e25ab9b874a4bd8c6e3e5ce66cbe8a1dd4096e2e (patch) | |
| tree | ae51b1b5ceaa558fe16e381633ae2fe39c88d69f /net/switchdev/switchdev.c | |
| parent | cdec67a489d4fdae3e83e04fca0419136a83c4c2 (diff) | |
| download | linux-e25ab9b874a4bd8c6e3e5ce66cbe8a1dd4096e2e.tar.xz | |
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 <jordan@jrife.io>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
