* [MPTCP] [RFC PATCH 0/6] mptcp: refactor incoming options parsing
@ 2020-04-28 14:11 Paolo Abeni
0 siblings, 0 replies; only message in thread
From: Paolo Abeni @ 2020-04-28 14:11 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 1701 bytes --]
This is an alternative solution for the pending option parsing solution,
previous attempt here:
https://lists.01.org/hyperkitty/list/mptcp(a)lists.01.org/thread/7FW4C3W4WS42GWTRWFQWCTCUYGKLIHFJ/
instead of adding (many) explicitly 'clear MPTCP options' operation to the
TCP code, it moves completely the options parsing into the MPTCP code - see
patch 2/6.
This addresses also the problems with the previois attempt for no-mptcp-opt
pkts.
patch 1/6 is a needed pre-requisites, while patch 3,4,5 are smaller somewhat
releated fixes.
patch 6/6 is just a minor clean-up and likely could be squashed into 6/6.
Stress test with syzkaller repro survived a few hours run without any splash,
while I can hit WARN_ON() on top of current export branch + pending -net
fixes in a few mins with the same test.
Overall I'm personally more confident in this approach than in the previous one.
Any comments more than welcome! Specifically I'm wondering if this should
target -net or net-next...
Paolo Abeni (6):
mptcp: consolidate synack processing.
mptcp: move option parsing into mptcp_incoming_options()
mptcp: avoid a WARN on bad input.
mptcp: fix 'use_ack' option access.
mptcp: initialize data_fin field for mpc packets
mptcp: cleanup option parsing
include/linux/tcp.h | 51 ------------------------
include/net/mptcp.h | 3 --
net/ipv4/tcp_input.c | 7 ----
net/mptcp/options.c | 95 +++++++++++++++++++-------------------------
net/mptcp/protocol.c | 6 +--
net/mptcp/protocol.h | 43 +++++++++++++++++++-
net/mptcp/subflow.c | 81 +++++++++++++++++++++++--------------
7 files changed, 137 insertions(+), 149 deletions(-)
--
2.21.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-28 14:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-28 14:11 [MPTCP] [RFC PATCH 0/6] mptcp: refactor incoming options parsing Paolo Abeni
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.