]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
selftests/bpf: Fix xdp_tx.c prog section name
authorJussi Maki <joamaki@gmail.com>
Sat, 31 Jul 2021 05:57:37 +0000 (05:57 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 9 Aug 2021 21:25:15 +0000 (23:25 +0200)
commit95413846cca37f20000dd095cf6d91f8777129d7
tree10efc097fe1c9353717a18a3ed8a87ab8a14a8c6
parent689186699931313c7a42462602bd5c03eef77f9f
selftests/bpf: Fix xdp_tx.c prog section name

The program type cannot be deduced from 'tx' which causes an invalid
argument error when trying to load xdp_tx.o using the skeleton.
Rename the section name to "xdp" so that libbpf can deduce the type.

Signed-off-by: Jussi Maki <joamaki@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210731055738.16820-7-joamaki@gmail.com
tools/testing/selftests/bpf/progs/xdp_tx.c
tools/testing/selftests/bpf/test_xdp_veth.sh