Use bpf_tracing_btf_ctx_access instead of btf_ctx_access.
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
---
net/mptcp/bpf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mptcp/bpf.c b/net/mptcp/bpf.c
index 647cb174d917..a3c41c079fe4 100644
--- a/net/mptcp/bpf.c
+++ b/net/mptcp/bpf.c
@@ -33,7 +33,7 @@ bpf_mptcp_sched_get_func_proto(enum bpf_func_id func_id,
static const struct bpf_verifier_ops bpf_mptcp_sched_verifier_ops = {
.get_func_proto = bpf_mptcp_sched_get_func_proto,
- .is_valid_access = btf_ctx_access,
+ .is_valid_access = bpf_tracing_btf_ctx_access,
.btf_struct_access = btf_struct_access,
};
--
2.34.1