diff options
| author | Martin KaFai Lau <[email protected]> | 2024-05-07 23:22:00 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-05-07 23:25:13 +0000 |
| commit | 7e2c7a3f732b77623cea01b89b8cc6724c90a439 (patch) | |
| tree | 587a047f502580fa81c3b74a17204016c926097a /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c | |
| parent | Merge branch 'fix-number-of-arguments-in-test' (diff) | |
| parent | selftests/bpf: shorten subtest names for struct_ops_module test (diff) | |
| download | kernel-7e2c7a3f732b77623cea01b89b8cc6724c90a439.tar.gz kernel-7e2c7a3f732b77623cea01b89b8cc6724c90a439.zip | |
Merge branch 'libbpf: further struct_ops fixes and improvements'
Andrii Nakryiko says:
====================
Fix yet another case of mishandling SEC("struct_ops") programs that were
nulled out programmatically through BPF skeleton by the user.
While at it, add some improvements around detecting and reporting errors,
specifically a common case of declaring SEC("struct_ops") program, but
forgetting to actually make use of it by setting it as a callback
implementation in SEC(".struct_ops") variable (i.e., map) declaration.
A bunch of new selftests are added as well.
====================
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions
