Skip to content

Commit 3602baf

Browse files
selftests/bpf: lwt_seg6local: Remove unused routes
Some routes in fb00:: are initialized during setup, even though they aren't needed by the test as the UDP packets will travel through the lightweight tunnels. Remove these unnecessary routes. Signed-off-by: Bastien Curutchet (eBPF Foundation) <[email protected]>
1 parent 4dcc0f7 commit 3602baf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/testing/selftests/bpf/test_lwt_seg6local.sh

-5
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,14 @@ ip netns exec ${NS6} ip link set dev lo up
9999

100100
# All link scope addresses and routes required between veths
101101
ip netns exec ${NS1} ip -6 addr add fb00::12/16 dev veth1 scope link
102-
ip netns exec ${NS1} ip -6 route add fb00::21 dev veth1 scope link
103102
ip netns exec ${NS2} ip -6 addr add fb00::21/16 dev veth2 scope link
104103
ip netns exec ${NS2} ip -6 addr add fb00::34/16 dev veth3 scope link
105-
ip netns exec ${NS2} ip -6 route add fb00::43 dev veth3 scope link
106-
ip netns exec ${NS3} ip -6 route add fb00::65 dev veth5 scope link
107104
ip netns exec ${NS3} ip -6 addr add fb00::43/16 dev veth4 scope link
108105
ip netns exec ${NS3} ip -6 addr add fb00::56/16 dev veth5 scope link
109106
ip netns exec ${NS4} ip -6 addr add fb00::65/16 dev veth6 scope link
110107
ip netns exec ${NS4} ip -6 addr add fb00::78/16 dev veth7 scope link
111-
ip netns exec ${NS4} ip -6 route add fb00::87 dev veth7 scope link
112108
ip netns exec ${NS5} ip -6 addr add fb00::87/16 dev veth8 scope link
113109
ip netns exec ${NS5} ip -6 addr add fb00::910/16 dev veth9 scope link
114-
ip netns exec ${NS5} ip -6 route add fb00::109 dev veth9 scope link
115110
ip netns exec ${NS5} ip -6 route add fb00::109 table 117 dev veth9 scope link
116111
ip netns exec ${NS6} ip -6 addr add fb00::109/16 dev veth10 scope link
117112

0 commit comments

Comments
 (0)