From: Geliang Tang <tanggeliang@kylinos.cn>
Please update the subject to
bpf: Add mptcp packet scheduler struct_ops
Drop struct mptcp_sched_data.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
---
net/mptcp/bpf.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/net/mptcp/bpf.c b/net/mptcp/bpf.c
index 57c4606a26ab..ea8098c6add9 100644
--- a/net/mptcp/bpf.c
+++ b/net/mptcp/bpf.c
@@ -178,14 +178,12 @@ static int bpf_mptcp_sched_init(struct btf *btf)
return 0;
}
-static int __bpf_mptcp_sched_get_send(struct mptcp_sock *msk,
- struct mptcp_sched_data *data)
+static int __bpf_mptcp_sched_get_send(struct mptcp_sock *msk)
{
return 0;
}
-static int __bpf_mptcp_sched_get_retrans(struct mptcp_sock *msk,
- struct mptcp_sched_data *data)
+static int __bpf_mptcp_sched_get_retrans(struct mptcp_sock *msk)
{
return 0;
}
--
2.45.2