numam-dpdk/lib/bpf
Hongbo Zheng cdcee2ec9b bpf: fix JSLT validation
In function 'eval_jcc', judgment 'op == EBPF_JLT' occurs
twice, as a result, the corresponding second statement
cannot be accessed.

This patch fix this problem.

Fixes: 8021917293 ("bpf: add extra validation for input BPF program")
Cc: stable@dpdk.org

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2021-05-05 12:22:30 +02:00
..
bpf_def.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_exec.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_impl.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_jit_arm64.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_jit_x86.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_load_elf.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_load.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_pkt.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
bpf_validate.c bpf: fix JSLT validation 2021-05-05 12:22:30 +02:00
bpf.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_bpf_ethdev.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_bpf.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
version.map lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00