All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp-next v3 0/3] mptcp: options: MIB for invalid & drop suboptions
@ 2026-10-29 21:05 Matthieu Baerts (NGI0)
  2026-10-29 21:05 ` [PATCH mptcp-next v3 1/3] mptcp: options: use a dedicated bit for csum reqd Matthieu Baerts (NGI0)
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Matthieu Baerts (NGI0) @ 2026-10-29 21:05 UTC (permalink / raw)
  To: MPTCP Linux; +Cc: Matthieu Baerts (NGI0), Gang Yan

Here are a few improvements linked to the parsing of the MPTCP options:

- Patch 1: Move the only non-suboptions from the 'suboptions' field.

- Patch 2: Track invalid suboptions: unexpected suboptions combinations
  or invalid sizes.

- Patch 3: drop any previously parsed suboptions in case of invalidity.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Changes in v3:
- No changes, just a rebase with a simple conflict resolution.
- Link to v2: https://patch.msgid.link/20260904-mptcp-mib-inval-opt-v2-0-a72003dc4425@kernel.org

Changes in v2:
- Patch 3: break the while-loop, not the switch-case.
- Link to v1: https://patch.msgid.link/20260903-mptcp-mib-inval-opt-v1-0-84a553c552b6@kernel.org

---
Matthieu Baerts (NGI0) (3):
      mptcp: options: use a dedicated bit for csum reqd
      mptcp: options: track invalid suboptions
      mptcp: options: reset parsing in case of invalidity

 net/mptcp/mib.c      |  1 +
 net/mptcp/mib.h      |  1 +
 net/mptcp/options.c  | 94 ++++++++++++++++++++++++++++------------------------
 net/mptcp/protocol.c |  2 +-
 net/mptcp/protocol.h |  8 ++---
 net/mptcp/subflow.c  | 12 +++----
 6 files changed, 62 insertions(+), 56 deletions(-)
---
base-commit: bcc5638fabf418e763621a432840cf55287e604d
change-id: 20260729-mptcp-mib-inval-opt-ac1605020170

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


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

end of thread, other threads:[~2026-10-30  3:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-29 21:05 [PATCH mptcp-next v3 0/3] mptcp: options: MIB for invalid & drop suboptions Matthieu Baerts (NGI0)
2026-10-29 21:05 ` [PATCH mptcp-next v3 1/3] mptcp: options: use a dedicated bit for csum reqd Matthieu Baerts (NGI0)
2026-10-30  2:55   ` Geliang Tang
2026-10-29 21:05 ` [PATCH mptcp-next v3 2/3] mptcp: options: track invalid suboptions Matthieu Baerts (NGI0)
2026-10-29 21:52   ` sashiko-bot
2026-10-30  3:14     ` Geliang Tang
2026-10-29 21:05 ` [PATCH mptcp-next v3 3/3] mptcp: options: reset parsing in case of invalidity Matthieu Baerts (NGI0)
2026-10-30  2:56   ` Geliang Tang
2026-10-29 23:04 ` [PATCH mptcp-next v3 0/3] mptcp: options: MIB for invalid & drop suboptions MPTCP CI

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.