mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
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: 8972e18a43
("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
This commit is contained in:
parent
ee77f3d602
commit
2404dd01b5
@ -238,11 +238,8 @@ The following is the breakdown for each field in struct ``bpf_iter_reg``.
|
|||||||
that the kernel function cond_resched() is called to avoid other kernel
|
that the kernel function cond_resched() is called to avoid other kernel
|
||||||
subsystem (e.g., rcu) misbehaving.
|
subsystem (e.g., rcu) misbehaving.
|
||||||
* - seq_info
|
* - seq_info
|
||||||
- Specifies certain action requests in the kernel BPF iterator
|
- Specifies the set of seq operations for the BPF iterator and helpers to
|
||||||
infrastructure. Currently, only BPF_ITER_RESCHED is supported. This means
|
initialize/free the private data for the corresponding ``seq_file``.
|
||||||
that the kernel function cond_resched() is called to avoid other kernel
|
|
||||||
subsystem (e.g., rcu) misbehaving.
|
|
||||||
|
|
||||||
|
|
||||||
`Click here
|
`Click here
|
||||||
<https://lore.kernel.org/bpf/20210212183107.50963-2-songliubraving@fb.com/>`_
|
<https://lore.kernel.org/bpf/20210212183107.50963-2-songliubraving@fb.com/>`_
|
||||||
|
Loading…
Reference in New Issue
Block a user