diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2021-03-03 10:18:14 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-03-04 19:11:29 -0800 |
commit | 509b2937bce90089fd2785db9f27951a3d850c34 (patch) | |
tree | d0a974094a24dc38f2caafd1dcc74571aa336395 /scripts/bpf_doc.py | |
parent | 7c32e8f8bc33a5f4b113a630857e46634e3e143b (diff) |
selftests: bpf: Convert sk_lookup ctx access tests to PROG_TEST_RUN
Convert the selftests for sk_lookup narrow context access to use
PROG_TEST_RUN instead of creating actual sockets. This ensures that
ctx is populated correctly when using PROG_TEST_RUN.
Assert concrete values since we now control remote_ip and remote_port.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210303101816.36774-4-lmb@cloudflare.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions