Adapt our code to a recent API change in BPF, see the Fixes tag.
Fixes: 51a52a29ebaa ("bpf: Pass const struct bpf_prog * to .check_member")
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
---
net/mptcp/bpf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/mptcp/bpf.c b/net/mptcp/bpf.c
index c08458a31f46..14ea1342598a 100644
--- a/net/mptcp/bpf.c
+++ b/net/mptcp/bpf.c
@@ -89,7 +89,8 @@ static void bpf_mptcp_sched_unreg(void *kdata)
}
static int bpf_mptcp_sched_check_member(const struct btf_type *t,
- const struct btf_member *member)
+ const struct btf_member *member,
+ const struct bpf_prog *prog)
{
return 0;
}
--
2.38.1