This series contains a number of small fixes to the BPF selftest xdp_hw_metadata that I've run into when using it for testing XDP hardware hints on different NIC hardware. Fixes: 297a3f124155 ("selftests/bpf: Simple program to dump XDP RX metadata") Signed-off-by: Jesper Dangaard Brouer <brouer@xxxxxxxxxx> --- Jesper Dangaard Brouer (4): selftests/bpf: xdp_hw_metadata clear metadata when -EOPNOTSUPP selftests/bpf: xdp_hw_metadata cleanup cause segfault selftests/bpf: xdp_hw_metadata correct status value in error(3) selftests/bpf: xdp_hw_metadata use strncpy for ifname .../selftests/bpf/progs/xdp_hw_metadata.c | 6 +++- tools/testing/selftests/bpf/xdp_hw_metadata.c | 34 +++++++++---------- 2 files changed, 22 insertions(+), 18 deletions(-) --