diff options
author | 2022-11-04 00:39:54 +0530 | |
---|---|---|
committer | 2022-11-03 19:31:18 -0700 | |
commit | a28ace782e687424d7aa2c29a4516f54d5561a14 (patch) | |
tree | 292982e36c6eb667a4f47f897d57e1a43a23e221 /kernel/bpf/arraymap.c | |
parent | bpf: Fix slot type check in check_stack_write_var_off (diff) | |
download | wireguard-linux-a28ace782e687424d7aa2c29a4516f54d5561a14.tar.xz wireguard-linux-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 <davemarchevsky@fb.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20221103191013.1236066-6-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions