MPTCP Linux Development
 help / color / mirror / Atom feed
* [PATCH mptcp-net 0/3] mptcp: pm: ignore unknown endpoint flags
@ 2025-11-26 18:31 Matthieu Baerts (NGI0)
  2025-11-26 18:31 ` [PATCH mptcp-net 1/3] " Matthieu Baerts (NGI0)
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Matthieu Baerts (NGI0) @ 2025-11-26 18:31 UTC (permalink / raw)
  To: MPTCP Upstream; +Cc: Matthieu Baerts (NGI0)

This is just a simple fix to ignore unknown endpoint flags. Recently, a
new "laminar" flag has been added. It can be set on older kernel
versions without effects -- which is good -- but it is strange to report
it in the endpoints dumps if it is not supported.

  # uname -r
  6.17.9
  # ip mptcp endpoint add 1.2.3.4 laminar  # not supported on v6.17
  # ip mptcp endpoint
  1.2.3.4 id 1 laminar

Patch 1 fixes that, while Patch 2 validates that.

Patch 3 is for mptcp-next, to correctly follow the specs and accept u32
flags instead of u8. This doesn't change anything, but avoids
confusions.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Matthieu Baerts (NGI0) (3):
      mptcp: pm: ignore unknown endpoint flags
      selftests: mptcp: pm: ensure unknown flags are ignored
      mptcp: pm: align endpoint flags size with the NL specs

 include/uapi/linux/mptcp.h                      |  1 +
 net/mptcp/pm_netlink.c                          |  3 ++-
 net/mptcp/protocol.h                            |  4 ++--
 tools/testing/selftests/net/mptcp/pm_netlink.sh |  4 ++++
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c   | 11 +++++++++++
 5 files changed, 20 insertions(+), 3 deletions(-)
---
base-commit: 690b1c68fd1e566ffa60fec98e09292cc9f04a3a
change-id: 20251125-mptcp-pm-kern-drop-unknown-flags-e4ec71df02e7

Best regards,
-- 
Matthieu Baerts (NGI0) <matttbe@kernel.org>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-11-27 15:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-26 18:31 [PATCH mptcp-net 0/3] mptcp: pm: ignore unknown endpoint flags Matthieu Baerts (NGI0)
2025-11-26 18:31 ` [PATCH mptcp-net 1/3] " Matthieu Baerts (NGI0)
2025-11-26 18:31 ` [PATCH mptcp-net 2/3] selftests: mptcp: pm: ensure unknown flags are ignored Matthieu Baerts (NGI0)
2025-11-26 23:57   ` Mat Martineau
2025-11-27 14:57     ` Matthieu Baerts
2025-11-26 18:31 ` [PATCH mptcp-net 3/3] mptcp: pm: align endpoint flags size with the NL specs Matthieu Baerts (NGI0)
2025-11-26 19:52 ` [PATCH mptcp-net 0/3] mptcp: pm: ignore unknown endpoint flags MPTCP CI
2025-11-26 23:54 ` Mat Martineau
2025-11-27 15:07   ` Matthieu Baerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox