* [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
@ 2025-10-21 19:26 Andrea Claudi
2025-10-21 20:53 ` Stephen Hemminger
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Andrea Claudi @ 2025-10-21 19:26 UTC (permalink / raw)
To: netdev; +Cc: Stephen Hemminger, David Ahern
ip mptcp supports the implicit flag since commit 3a2535a41854 ("mptcp:
add support for implicit flag"), however this flag is not listed in the
command inline help.
Add the implicit flag to the inline help.
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
---
ip/ipmptcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ip/ipmptcp.c b/ip/ipmptcp.c
index 2415cac8..6bfdc7bb 100644
--- a/ip/ipmptcp.c
+++ b/ip/ipmptcp.c
@@ -32,7 +32,7 @@ static void usage(void)
" ip mptcp limits show\n"
" ip mptcp monitor\n"
"FLAG-LIST := [ FLAG-LIST ] FLAG\n"
- "FLAG := [ signal | subflow | backup | fullmesh ]\n"
+ "FLAG := [ signal | subflow | backup | fullmesh | implicit ]\n"
"CHANGE-OPT := [ backup | nobackup | fullmesh | nofullmesh ]\n");
exit(-1);
--
2.51.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
2025-10-21 19:26 [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help Andrea Claudi
@ 2025-10-21 20:53 ` Stephen Hemminger
2025-10-21 22:10 ` patchwork-bot+netdevbpf
2025-10-22 14:49 ` Matthieu Baerts
2 siblings, 0 replies; 6+ messages in thread
From: Stephen Hemminger @ 2025-10-21 20:53 UTC (permalink / raw)
To: Andrea Claudi; +Cc: netdev, David Ahern
On Tue, 21 Oct 2025 21:26:56 +0200
Andrea Claudi <aclaudi@redhat.com> wrote:
> ip mptcp supports the implicit flag since commit 3a2535a41854 ("mptcp:
> add support for implicit flag"), however this flag is not listed in the
> command inline help.
>
> Add the implicit flag to the inline help.
>
> Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
This is more of a fix, don't need to wait for -next
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
2025-10-21 19:26 [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help Andrea Claudi
2025-10-21 20:53 ` Stephen Hemminger
@ 2025-10-21 22:10 ` patchwork-bot+netdevbpf
2025-10-22 14:49 ` Matthieu Baerts
2 siblings, 0 replies; 6+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-10-21 22:10 UTC (permalink / raw)
To: Andrea Claudi; +Cc: netdev, stephen, dsahern
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
On Tue, 21 Oct 2025 21:26:56 +0200 you wrote:
> ip mptcp supports the implicit flag since commit 3a2535a41854 ("mptcp:
> add support for implicit flag"), however this flag is not listed in the
> command inline help.
>
> Add the implicit flag to the inline help.
>
> Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
>
> [...]
Here is the summary with links:
- [iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=14749b22dd8f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
2025-10-21 19:26 [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help Andrea Claudi
2025-10-21 20:53 ` Stephen Hemminger
2025-10-21 22:10 ` patchwork-bot+netdevbpf
@ 2025-10-22 14:49 ` Matthieu Baerts
2025-10-22 15:03 ` David Ahern
2025-10-22 17:06 ` Stephen Hemminger
2 siblings, 2 replies; 6+ messages in thread
From: Matthieu Baerts @ 2025-10-22 14:49 UTC (permalink / raw)
To: Andrea Claudi, Stephen Hemminger; +Cc: David Ahern, netdev, MPTCP Linux
Hi Andrea,
Sorry, I'm reacting a bit too late here (but Stephen applied the patch
very quickly :) ).
On 21/10/2025 21:26, Andrea Claudi wrote:
> ip mptcp supports the implicit flag since commit 3a2535a41854 ("mptcp:
> add support for implicit flag"), however this flag is not listed in the
> command inline help.
>
> Add the implicit flag to the inline help.
I would rather not: as written in the man page (by you in the mentioned
commit :) ) "Implicit endpoints cannot be created from user-space". Such
endpoints can be created by the MPTCP in-kernel path-manager in some
circumstances, but if the user-space cannot set the flag, then probably
better not to add it in the command inline help, no?
If someone tries to create an "implicit" endpoint, the kernel will
reject this request, see:
https://elixir.bootlin.com/linux/v6.17/source/net/mptcp/pm_kernel.c#L813
I can send a revert. I have other small changes to send.
@Stephen: while at it, would it be OK if I also add an entry for files
linked related to MPTCP in the MAINTAINERS file?
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
2025-10-22 14:49 ` Matthieu Baerts
@ 2025-10-22 15:03 ` David Ahern
2025-10-22 17:06 ` Stephen Hemminger
1 sibling, 0 replies; 6+ messages in thread
From: David Ahern @ 2025-10-22 15:03 UTC (permalink / raw)
To: Matthieu Baerts, Andrea Claudi, Stephen Hemminger; +Cc: netdev, MPTCP Linux
On 10/22/25 8:49 AM, Matthieu Baerts wrote:
> @Stephen: while at it, would it be OK if I also add an entry for files
> linked related to MPTCP in the MAINTAINERS file?
please do
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
2025-10-22 14:49 ` Matthieu Baerts
2025-10-22 15:03 ` David Ahern
@ 2025-10-22 17:06 ` Stephen Hemminger
1 sibling, 0 replies; 6+ messages in thread
From: Stephen Hemminger @ 2025-10-22 17:06 UTC (permalink / raw)
To: Matthieu Baerts; +Cc: Andrea Claudi, David Ahern, netdev, MPTCP Linux
On Wed, 22 Oct 2025 16:49:41 +0200
Matthieu Baerts <matttbe@kernel.org> wrote:
> Hi Andrea,
>
> Sorry, I'm reacting a bit too late here (but Stephen applied the patch
> very quickly :) ).
>
> On 21/10/2025 21:26, Andrea Claudi wrote:
> > ip mptcp supports the implicit flag since commit 3a2535a41854 ("mptcp:
> > add support for implicit flag"), however this flag is not listed in the
> > command inline help.
> >
> > Add the implicit flag to the inline help.
>
> I would rather not: as written in the man page (by you in the mentioned
> commit :) ) "Implicit endpoints cannot be created from user-space". Such
> endpoints can be created by the MPTCP in-kernel path-manager in some
> circumstances, but if the user-space cannot set the flag, then probably
> better not to add it in the command inline help, no?
>
> If someone tries to create an "implicit" endpoint, the kernel will
> reject this request, see:
>
> https://elixir.bootlin.com/linux/v6.17/source/net/mptcp/pm_kernel.c#L813
>
> I can send a revert. I have other small changes to send.
Thanks I reverted it
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-10-22 17:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-21 19:26 [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help Andrea Claudi
2025-10-21 20:53 ` Stephen Hemminger
2025-10-21 22:10 ` patchwork-bot+netdevbpf
2025-10-22 14:49 ` Matthieu Baerts
2025-10-22 15:03 ` David Ahern
2025-10-22 17:06 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).