diff options
| author | Kui-Feng Lee <[email protected]> | 2023-03-23 03:24:04 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2023-03-23 05:53:02 +0000 |
| commit | 809a69d61899f6b79a8e9de474cd93249580fdaf (patch) | |
| tree | 1a4f0fc77743b396c992609bb3e6ade844a3c202 /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | |
| parent | libbpf: Update a bpf_link with another struct_ops. (diff) | |
| download | kernel-809a69d61899f6b79a8e9de474cd93249580fdaf.tar.gz kernel-809a69d61899f6b79a8e9de474cd93249580fdaf.zip | |
libbpf: Use .struct_ops.link section to indicate a struct_ops with a link.
Flags a struct_ops is to back a bpf_link by putting it to the
".struct_ops.link" section. Once it is flagged, the created
struct_ops can be used to create a bpf_link or update a bpf_link that
has been backed by another struct_ops.
Signed-off-by: Kui-Feng Lee <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
0 files changed, 0 insertions, 0 deletions
