[PATCH iproute2-mptcp v2 0/3] mptcp: add the subflow-retries limit

Anil Kaushik posted 3 patches 3 days, 4 hours ago
Failed in applying to current master (apply log)
include/uapi/linux/mptcp.h    |  2 +-
include/uapi/linux/mptcp_pm.h |  1 +
ip/ipmptcp.c                  | 21 ++++++++++++++++++++-
man/man8/ip-mptcp.8           | 10 ++++++++++
misc/ss.c                     |  3 +++
5 files changed, 35 insertions(+), 2 deletions(-)
[PATCH iproute2-mptcp v2 0/3] mptcp: add the subflow-retries limit
Posted by Anil Kaushik 3 days, 4 hours ago
This adds the new subflow-retries limit of the in-kernel path manager to
"ip mptcp limits", and shows it in "ss -Mi", as Matt suggested on the
kernel series:

https://lore.kernel.org/mptcp/20261103085244.23064-1-anilkaushikwireless@gmail.com/

Patch 1 adds the new attribute and the new mptcp_info field to the
copied uapi headers. It is only needed until the iproute2 maintainers
update the headers, once the kernel part is merged.

Patch 2 adds "subflow_retries" to "ip mptcp limits set" and "show", and
to the man page.

Patch 3 shows the limit in "ss -Mi". If the split of ss.c lands first,
I will rebase it:

https://lore.kernel.org/20261119024049.3109143-1-stephen@networkplumber.org

Tested in a VM with the kernel series applied: show, set, a partial set
keeping the other limits, JSON output, the maximum (127 accepted, 128
refused by the kernel), and "ss -Mi" with the limit at 127, 5 and 0.
With an older kernel, nothing new is shown, and setting the limit is
accepted but ignored by the kernel.

The fix for "pm_netlink.sh -i" with this ip will be in v16 of the kernel
series.

Changes in v2: show the limit in ss, as Matt asked, with the new
mptcp_info field in patch 1; and the iproute2-mptcp prefix.

v1: https://lore.kernel.org/mptcp/20261119184507.1954726-1-anilkaushikwireless@gmail.com/

I used an LLM to help write and review these patches. I checked and
tested every change myself.

Anil Kaushik (3):
  uapi: mptcp: add the subflow-retries limit
  mptcp: limits: add subflow_retries
  ss: mptcp: show the subflow-retries limit

 include/uapi/linux/mptcp.h    |  2 +-
 include/uapi/linux/mptcp_pm.h |  1 +
 ip/ipmptcp.c                  | 21 ++++++++++++++++++++-
 man/man8/ip-mptcp.8           | 10 ++++++++++
 misc/ss.c                     |  3 +++
 5 files changed, 35 insertions(+), 2 deletions(-)


base-commit: 87cb3f4198507331b9308689d4a726d17db63dd3
-- 
2.25.1