[PATCH mptcp-next v5 1/7] Squash to "mptcp: pm: add get_local_id() interface"

Geliang Tang posted 7 patches 2 weeks, 1 day ago
There is a newer version of this series
[PATCH mptcp-next v5 1/7] Squash to "mptcp: pm: add get_local_id() interface"
Posted by Geliang Tang 2 weeks, 1 day ago
From: Geliang Tang <tanggeliang@kylinos.cn>

Update the comment for get_local_id and get_priority.

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
---
 include/net/mptcp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/net/mptcp.h b/include/net/mptcp.h
index 9f28ef550e10..4cf59e83c1c5 100644
--- a/include/net/mptcp.h
+++ b/include/net/mptcp.h
@@ -118,7 +118,7 @@ struct mptcp_sched_ops {
 #define MPTCP_PM_BUF_MAX	(MPTCP_PM_NAME_MAX * MPTCP_PM_MAX)
 
 struct mptcp_pm_ops {
-	/* required */
+	/* required, call from the subflow context */
 	int (*get_local_id)(struct mptcp_sock *msk,
 			    struct mptcp_pm_addr_entry *skc);
 	bool (*get_priority)(struct mptcp_sock *msk,
-- 
2.43.0
Re: [PATCH mptcp-next v5 1/7] Squash to "mptcp: pm: add get_local_id() interface"
Posted by Matthieu Baerts 2 weeks, 1 day ago
Hi Geliang,

On 27/03/2025 07:04, Geliang Tang wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
> 
> Update the comment for get_local_id and get_priority.

Thank you, I just applied this patch 1/7:

New patches for t/upstream:
- 00b6c34b9ea1: "squashed" patch 1/7 in "mptcp: pm: add get_local_id()
interface"
- Results: 4e2b25079a95..8bfbd2e1bf59 (export)

Tests are now in progress:

- export:
https://github.com/multipath-tcp/mptcp_net-next/commit/3ea3f4d9ffc7cf05867f7b7e8e2741c85a24bae6/checks

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.