On Sun, May 24, 2020 at 9:52 AM John Fastabend [off-list ref] wrote:
Lets test using probe* in SCHED_CLS network programs as well just
to be sure these keep working. Its cheap to add the extra test
and provides a second context to test outside of sk_msg after
we generalized probe* helpers to all networking types.
Acked-by: Yonghong Song <redacted>
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
---
One day we need to just replace all bpf_prog_load() calls with
bpf_object__open() or skeleton open/load. But not today :)
Acked-by: Andrii Nakryiko <redacted>
.../testing/selftests/bpf/prog_tests/skb_helpers.c | 30 ++++++++++++++++++++
.../testing/selftests/bpf/progs/test_skb_helpers.c | 28 +++++++++++++++++++
2 files changed, 58 insertions(+)
create mode 100644 tools/testing/selftests/bpf/prog_tests/skb_helpers.c
create mode 100644 tools/testing/selftests/bpf/progs/test_skb_helpers.c
[...]