--- v2
+++ v3
@@ -26,6 +26,12 @@
[1] https://lore.kernel.org/bpf/20260130081208.1130204-1-jolsa@kernel.org/
Changes:
+v2 -> v3:
+* Address comment from bot+bpf-ci:
+ * Guard call_get_func_ip and call_session_cookie with "has_trampoline" for
+ BPF_MAP_OWNER_MATCH_FOR_INIT.
+* v2: https://lore.kernel.org/bpf/20260302150342.55709-1-leon.hwang@linux.dev/
+
v1 -> v2:
* Factor out bpf_map_owner_init() and bpf_map_owner_matches() helpers.
* Drop the "call_session_is_return" case, because the "is_return" value is
@@ -47,13 +53,13 @@
selftests/bpf: Add tests to verify prog_array map compatibility
include/linux/bpf.h | 9 +-
- kernel/bpf/core.c | 138 +++++---
+ kernel/bpf/core.c | 141 +++++---
kernel/bpf/verifier.c | 2 +-
.../selftests/bpf/prog_tests/tailcalls.c | 319 ++++++++++++++++++
.../bpf/progs/tailcall_map_compatible.c | 103 ++++++
- 5 files changed, 521 insertions(+), 50 deletions(-)
+ 5 files changed, 524 insertions(+), 50 deletions(-)
create mode 100644 tools/testing/selftests/bpf/progs/tailcall_map_compatible.c
---
+--
2.52.0