]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add fexit-to-skb test for global funcs
authorAlexei Starovoitov <ast@kernel.org>
Fri, 10 Jan 2020 06:41:21 +0000 (22:41 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 10 Jan 2020 16:20:07 +0000 (17:20 +0100)
commit70de141cc501c6d231a31a3b57f255798c51804c
tree3da1445e925efe469d7d8fe1fc0d542c5a115200
parent3eff86613e506fd6dfdcf62976725384116528ac
selftests/bpf: Add fexit-to-skb test for global funcs

Add simple fexit prog type to skb prog type test when subprogram is a global
function.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20200110064124.1760511-4-ast@kernel.org
tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c
tools/testing/selftests/bpf/progs/fexit_bpf2bpf.c
tools/testing/selftests/bpf/progs/test_pkt_access.c