diff options
| author | Yonghong Song <yonghong.song@linux.dev> | 2024-04-09 21:35:27 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2024-04-10 19:52:25 -0700 |
| commit | 699c23f02c65cbfc3e638f14ce0d70c23a2e1f02 (patch) | |
| tree | 070b277b3ca08c33c240a73d794ce2226dd6a719 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
| parent | selftests/bpf: Add tests for atomics in bpf_arena. (diff) | |
| download | linux-699c23f02c65cbfc3e638f14ce0d70c23a2e1f02.tar.gz linux-699c23f02c65cbfc3e638f14ce0d70c23a2e1f02.zip | |
bpf: Add bpf_link support for sk_msg and sk_skb progs
Add bpf_link support for sk_msg and sk_skb programs. We have an
internal request to support bpf_link for sk_msg programs so user
space can have a uniform handling with bpf_link based libbpf
APIs. Using bpf_link based libbpf API also has a benefit which
makes system robust by decoupling prog life cycle and
attachment life cycle.
Reviewed-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240410043527.3737160-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions
