Squash to "mptcp: add sched_data_set_contexts helper"
Subsystems (2)
PATCH 1/1 Squash to "mptcp: add sched_data_set_contexts helper"
Fix this warning when compiling with W=1:
$ make W=1 net/mptcp/sched.o net/mptcp/sched.c:97:6: warning: symbol 'mptcp_sched_data_set_contexts' was not declared. Should it be static?
--- net/mptcp/protocol.h | 2 ++ 1 file changed, 2 insertions(+)
net/mptcp/protocol.h +2 -0
@@ -655,6 +655,8 @@ int mptcp_init_sched(struct mptcp_sock *msk,void mptcp_release_sched (struct mptcp_sock *msk);void mptcp_subflow_set_scheduled (struct mptcp_subflow_context *subflow,bool scheduled); +void mptcp_sched_data_set_contexts (const struct mptcp_sock *msk, +struct mptcp_sched_data *data);static inline bool __tcp_can_send (const struct sock *ssk) {
Signature · 1 line
2.35.3
Re: Squash to "mptcp: add sched_data_set_contexts helper": Tests Results
Hi Geliang,
Thank you for your modifications, that's great!
Our CI did some validations and here is its report:
- KVM Validation: normal:
- Unstable: 1 failed test(s): selftest_mptcp_join 🔴:
- Task: https://cirrus-ci.com/task/5674094851522560
- Summary: https://api.cirrus-ci.com/v1/artifact/task/5674094851522560/summary/summary.txt
- KVM Validation: debug:
- Success! ✅:
- Task: https://cirrus-ci.com/task/5111144898101248
- Summary: https://api.cirrus-ci.com/v1/artifact/task/5111144898101248/summary/summary.txt
Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/e85f97ad01b7
If there are some issues, you can reproduce them using the same environment as the one used by the CI thanks to a docker image, e.g.:
$ cd [kernel source code]
$ docker run -v "${PWD}:${PWD}:rw" -w "${PWD}" --privileged --rm -it \
--pull always mptcp/mptcp-upstream-virtme-docker:latest \
auto-debugFor more details:
https://github.com/multipath-tcp/mptcp-upstream-virtme-docker
Please note that despite all the efforts that have been already done to have a stable tests suite when executed on a public CI like here, it is possible some reported issues are not due to your modifications. Still, do not hesitate to help us improve that ;-)
Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (Tessares)
Hi Geliang, Mat,
Quoted 5 lines · Geliang Tang
Fix this warning when compiling with W=1:
$ make W=1 net/mptcp/sched.o net/mptcp/sched.c:97:6: warning: symbol 'mptcp_sched_data_set_contexts' was not declared. Should it be static?
Thank you for the fix and the suggestion!
I reverted my workaround and applied this patch:
- 5ee2ef57cd35: Revert "tg: tmp workaround to avoid CI error"
- a376f74a8a99: "squashed" in "mptcp: add sched_data_set_contexts helper"
- Results: 33c2d9f3290e..839f235881d8 (export)
Tests are now in progress:
https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export/20221121T102509
Cheers,
Matt
Signature · 2 lines
Tessares | Belgium | Hybrid Access Solutions www.tessares.net