Skip to content

Commit 2404dd0

Browse files
aspskborkmann
authored andcommitted
bpf, docs: BPF Iterator Document
Fix the description of the seq_info field of the bpf_iter_reg structure which was wrong due to an accidental copy/paste of the previous field's description. Fixes: 8972e18 ("bpf, docs: BPF Iterator Document") Signed-off-by: Anton Protopopov <aspsk@isovalent.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20230622095407.1024053-1-aspsk@isovalent.com
1 parent ee77f3d commit 2404dd0

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Documentation/bpf/bpf_iterators.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,8 @@ The following is the breakdown for each field in struct ``bpf_iter_reg``.
238238
that the kernel function cond_resched() is called to avoid other kernel
239239
subsystem (e.g., rcu) misbehaving.
240240
* - seq_info
241-
- Specifies certain action requests in the kernel BPF iterator
242-
infrastructure. Currently, only BPF_ITER_RESCHED is supported. This means
243-
that the kernel function cond_resched() is called to avoid other kernel
244-
subsystem (e.g., rcu) misbehaving.
245-
241+
- Specifies the set of seq operations for the BPF iterator and helpers to
242+
initialize/free the private data for the corresponding ``seq_file``.
246243

247244
`Click here
248245
<https://lore.kernel.org/bpf/20210212183107.50963-2-songliubraving@fb.com/>`_

0 commit comments

Comments
 (0)