RFC mptcp: refactor incoming options parsing
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mptcp: consolidate synack processing.include/ net/ net/ +1 more | +24 | 0 replies | |
| 2/6 | mptcp: move option parsing into mptcp_incoming_options()include/ include/ net/ +4 more | +114 | 1 reply | |
| 3/6 | mptcp: avoid a WARN on bad input.net/ | +2 | 0 replies | |
| 4/6 | mptcp: fix 'use_ack' option access.net/ | +1 | 0 replies | |
| 5/6 | mptcp: initialize data_fin field for mpc packetsnet/ | +1 | 0 replies | |
| 6/6 | mptcp: cleanup option parsingnet/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [MPTCP] [RFC PATCH 0/6] mptcp: refactor incoming options parsing
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(-)
Signature · 1 line
2.21.1