]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/net: fix section name when using xdp_dummy.o
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 30 Jun 2022 06:22:28 +0000 (14:22 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 2 Jul 2022 03:16:02 +0000 (20:16 -0700)
commite8371ee44104f9c87ca9f00069d97a9bfe88f939
tree5881c0a6ad40f857f1c5a277dad3f07b6646a756
parent1be5c8c3beb246dc90711877c2d8ba097153e716
selftests/net: fix section name when using xdp_dummy.o

Since commit 1848e3c8193b ("selftests/bpf: Normalize XDP section names in
selftests") the xdp_dummy.o's section name has changed to xdp. But some
tests are still using "section xdp_dummy", which make the tests failed.
Fix them by updating to the new section name.

Fixes: 1848e3c8193b ("selftests/bpf: Normalize XDP section names in selftests")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220630062228.3453016-1-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/udpgro.sh
tools/testing/selftests/net/udpgro_bench.sh
tools/testing/selftests/net/udpgro_frglist.sh
tools/testing/selftests/net/udpgro_fwd.sh
tools/testing/selftests/net/veth.sh