aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/udpgro_frglist.sh
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2022-06-30 14:22:28 +0800
committerJakub Kicinski <kuba@kernel.org>2022-07-01 20:16:02 -0700
commitd28b25a62a47a8c8aa19bd543863aab6717e68c9 (patch)
tree5881c0a6ad40f857f1c5a277dad3f07b6646a756 /tools/testing/selftests/net/udpgro_frglist.sh
parentbc38fae3a68b5140a39e2948de2b5b301438abfe (diff)
downloadlinux-d28b25a62a47a8c8aa19bd543863aab6717e68c9.tar.gz
selftests/net: fix section name when using xdp_dummy.o
Since commit 8fffa0e3451a ("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: 8fffa0e3451a ("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>
Diffstat (limited to 'tools/testing/selftests/net/udpgro_frglist.sh')
-rwxr-xr-xtools/testing/selftests/net/udpgro_frglist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/udpgro_frglist.sh b/tools/testing/selftests/net/udpgro_frglist.sh
index 807b74c8fd80..832c738cc3c2 100755
--- a/tools/testing/selftests/net/udpgro_frglist.sh
+++ b/tools/testing/selftests/net/udpgro_frglist.sh
@@ -36,7 +36,7 @@ run_one() {
ip netns exec "${PEER_NS}" ethtool -K veth1 rx-gro-list on
- ip -n "${PEER_NS}" link set veth1 xdp object ../bpf/xdp_dummy.o section xdp_dummy
+ ip -n "${PEER_NS}" link set veth1 xdp object ../bpf/xdp_dummy.o section xdp
tc -n "${PEER_NS}" qdisc add dev veth1 clsact
tc -n "${PEER_NS}" filter add dev veth1 ingress prio 4 protocol ipv6 bpf object-file ../bpf/nat6to4.o section schedcls/ingress6/nat_6 direct-action
tc -n "${PEER_NS}" filter add dev veth1 egress prio 4 protocol ip bpf object-file ../bpf/nat6to4.o section schedcls/egress4/snat4 direct-action