Now that the 'flags' attribute is used, it seems interesting to add one
flag for 'server-side', a boolean value.

Here are a few patches related to the 'server-side' attribute:

- Patch 1: only announce this attribute on the server side.

- Patch 2: announce the 'server-side' flag when this is the case.

- Patch 3: deprecate the 'server-side' attribute.

- Patch 4: use the 'server-side' flag in the selftests.

- Patches 5, 6: small cleanups when working on code around.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
---
Matthieu Baerts (NGI0) (6):
      mptcp: pm: netlink: only add server-side attr when true
      mptcp: pm: netlink: announce server-side flag
      mptcp: pm: netlink: deprecate server-side attribute
      selftests: mptcp: pm: get server-side flag
      mptcp: use _BITUL() instead of (1 << x)
      mptcp: remove unused returned value of check_data_fin

 Documentation/netlink/specs/mptcp_pm.yaml         |  5 +++--
 include/uapi/linux/mptcp.h                        | 11 ++++++-----
 include/uapi/linux/mptcp_pm.h                     |  4 ++--
 net/mptcp/pm_netlink.c                            |  9 +++++++--
 net/mptcp/protocol.c                              |  5 +----
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c     |  9 ++++++++-
 tools/testing/selftests/net/mptcp/userspace_pm.sh |  2 +-
 7 files changed, 28 insertions(+), 17 deletions(-)
---
base-commit: 315f423be0d1ebe720d8fd4fa6bed68586b13d34
change-id: 20250916-net-next-mptcp-server-side-flag-0f002418946d

Best regards,
-- 
Matthieu Baerts (NGI0) <[email protected]>


Reply via email to