diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2022-11-04 00:39:54 +0530 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-11-03 19:31:18 -0700 |
commit | a28ace782e687424d7aa2c29a4516f54d5561a14 (patch) | |
tree | 292982e36c6eb667a4f47f897d57e1a43a23e221 /kernel/bpf/syscall.c | |
parent | f5e477a861e4a20d8a1c5f7a245f3a3c3c376b03 (diff) |
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 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions