MPTCP Linux Development
 help / color / mirror / Atom feed
* Re: [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
       [not found] <0a81085b8be2bee69cf217d2379e87730c28b1c1.1761074697.git.aclaudi@redhat.com>
@ 2025-10-22 14:49 ` Matthieu Baerts
  2025-10-22 15:03   ` David Ahern
  2025-10-22 17:06   ` Stephen Hemminger
  0 siblings, 2 replies; 3+ 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] 3+ messages in thread

* Re: [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
  2025-10-22 14:49 ` [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help Matthieu Baerts
@ 2025-10-22 15:03   ` David Ahern
  2025-10-22 17:06   ` Stephen Hemminger
  1 sibling, 0 replies; 3+ 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] 3+ messages in thread

* Re: [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help
  2025-10-22 14:49 ` [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help Matthieu Baerts
  2025-10-22 15:03   ` David Ahern
@ 2025-10-22 17:06   ` Stephen Hemminger
  1 sibling, 0 replies; 3+ 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] 3+ messages in thread

end of thread, other threads:[~2025-10-22 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <0a81085b8be2bee69cf217d2379e87730c28b1c1.1761074697.git.aclaudi@redhat.com>
2025-10-22 14:49 ` [PATCH iproute2-next] mptcp: add implicit flag to the 'ip mptcp' inline help 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