Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 8972e18a439d ("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

authored by

Anton Protopopov and committed by
Daniel Borkmann
2404dd01 ee77f3d6

+2 -5
+2 -5
Documentation/bpf/bpf_iterators.rst
··· 238 238 that the kernel function cond_resched() is called to avoid other kernel 239 239 subsystem (e.g., rcu) misbehaving. 240 240 * - 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``. 246 243 247 244 `Click here 248 245 <https://lore.kernel.org/bpf/20210212183107.50963-2-songliubraving@fb.com/>`_