RE: [PATCH 2/3] app/test_bpf: don't print eBPF program if NULL

2022-02-11 Thread Ananyev, Konstantin
> If conversion of cBPF to eBPF fails (in rte_bpf_convert) > then the test should not try and print the result. > > Coverity issue: 373661 > Fixes: 2eccf6afbea9 ("bpf: add function to convert classic BPF to DPDK BPF") > Signed-off-by: Stephen Hemminger > --- > app/test/test_bpf.c | 6 -- >

[PATCH 2/3] app/test_bpf: don't print eBPF program if NULL

2022-02-10 Thread Stephen Hemminger
If conversion of cBPF to eBPF fails (in rte_bpf_convert) then the test should not try and print the result. Coverity issue: 373661 Fixes: 2eccf6afbea9 ("bpf: add function to convert classic BPF to DPDK BPF") Signed-off-by: Stephen Hemminger --- app/test/test_bpf.c | 6 -- 1 file changed, 4 i