]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Amend test_tunnel to exercise BPF_F_TUNINFO_FLAGS
authorShmulik Ladkani <shmulik@metanetworks.com>
Wed, 31 Aug 2022 14:40:10 +0000 (17:40 +0300)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 2 Sep 2022 13:21:03 +0000 (15:21 +0200)
commit8b260b2be80b4d0116d4e1f913770aef7752fd09
tree15307728be642de037be538fdcc8dc2c3aa23557
parent1b85241eba63acedf76d98e8ef6845f32eac05a1
selftests/bpf: Amend test_tunnel to exercise BPF_F_TUNINFO_FLAGS

Get the tunnel flags in {ipv6}vxlan_get_tunnel_src and ensure they are
aligned with tunnel params set at {ipv6}vxlan_set_tunnel_dst.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220831144010.174110-2-shmulik.ladkani@gmail.com
tools/testing/selftests/bpf/progs/test_tunnel_kern.c