diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2020-09-21 13:12:21 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-21 15:00:40 -0700 |
commit | d7b9454a4f6333bf145189b8e769011d15bdd50e (patch) | |
tree | 6de8d615d0a0658a7d2c418f3bbccde7103cce33 /lib/crc32.c | |
parent | 9436ef6e862b9ca22e5b12f87b106e07d5af4cae (diff) |
bpf: Make BTF pointer type checking generic
Perform BTF type checks if the register we're working on contains a BTF
pointer, rather than if the argument is for a BTF pointer. This is easier
to understand, and allows removing the code from the arg_type checking
section of the function.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200921121227.255763-6-lmb@cloudflare.com
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions