aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_net.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2020-07-23 18:41:09 +0000
committerAlexei Starovoitov <[email protected]>2020-07-26 03:16:32 +0000
commit14fc6bd6b79c430f615500d0fe6cea4722110db8 (patch)
tree5fef4ccfed6460489ece68286530134f630ad4eb /fs/proc/proc_net.c
parentbpf: Add bpf_prog iterator (diff)
downloadkernel-14fc6bd6b79c430f615500d0fe6cea4722110db8.tar.gz
kernel-14fc6bd6b79c430f615500d0fe6cea4722110db8.zip
bpf: Refactor bpf_iter_reg to have separate seq_info member
There is no functionality change for this patch. Struct bpf_iter_reg is used to register a bpf_iter target, which includes information for both prog_load, link_create and seq_file creation. This patch puts fields related seq_file creation into a different structure. This will be useful for map elements iterator where one iterator covers different map types and different map types may have different seq_ops, init/fini private_data function and private_data size. Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'fs/proc/proc_net.c')
0 files changed, 0 insertions, 0 deletions