summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorQiliang Yuan <odys.yuan@gmail.com>2026-10-09 09:48:44 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2026-10-15 18:13:51 +0200
commit33cbc5c2cadfe3b43f024e89880dd8fe2efb3a2e (patch)
tree3b266aed35bba06a875bd6a8a5ebc5dc4cc021d1 /kernel
parent7f34009230b796a06198da2c7204fd4efab9a2a1 (diff)
selftests/bpf: Create the vxlan devices of test_tunnel with their MAC
The vxlan tests of test_tunnel create a tunnel device in the initial netns with "ip link add", and then give it the MAC address that the static neighbor entry at the other end points to with "ip link set". systemd-udevd assigns new devices of the initial netns a MAC address of its own, following its MACAddressPolicy, when it handles their uevent. When it gets to that after the test set the address, the replies sent to the configured MAC are dropped as meant for another host, and the ping of vxlan_tunnel fails after 10 seconds. Pass the address to "ip link add". udevd leaves alone the address of a device that was created with one. Fixes: 1ee7efd40abf ("selftests/bpf: Move vxlan tunnel testcases to test_progs") Signed-off-by: Qiliang Yuan <odys.yuan@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20261009-selftests-bpf-tunnel-vxlan-mac-v1-1-624dd769c334@gmail.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions