aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2022-11-03 19:09:54 +0000
committerAlexei Starovoitov <[email protected]>2022-11-04 02:31:18 +0000
commita28ace782e687424d7aa2c29a4516f54d5561a14 (patch)
tree292982e36c6eb667a4f47f897d57e1a43a23e221 /tools/bpf/bpftool/prog.c
parentbpf: Fix slot type check in check_stack_write_var_off (diff)
downloadkernel-a28ace782e687424d7aa2c29a4516f54d5561a14.tar.gz
kernel-a28ace782e687424d7aa2c29a4516f54d5561a14.zip
bpf: Drop reg_type_may_be_refcounted_or_null
It is not scalable to maintain a list of types that can have non-zero ref_obj_id. It is never set for scalars anyway, so just remove the conditional on register types and print it whenever it is non-zero. Acked-by: Dave Marchevsky <[email protected]> Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Acked-by: David Vernet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions