selftests: bpf: Extend sk_assign tests for UDP
authorJoe Stringer <joe@wand.net.nz>
Sun, 29 Mar 2020 22:53:42 +0000 (15:53 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 30 Mar 2020 20:45:05 +0000 (13:45 -0700)
commit8a02a1703633e2f954a6d96c12a8375b07309621
tree456adfdac636ec33ba90ffd849e32ef67771c2e4
parent2d7824ffd25ce041db952d713567d54314cb7c29
selftests: bpf: Extend sk_assign tests for UDP

Add support for testing UDP sk_assign to the existing tests.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Lorenz Bauer <lmb@cloudflare.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200329225342.16317-6-joe@wand.net.nz
tools/testing/selftests/bpf/prog_tests/sk_assign.c
tools/testing/selftests/bpf/progs/test_sk_assign.c