fallback to TCP on ulp clone failure
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 7 repliesIn review
- v17 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- uses sk_is_mptcp() when possible (Mat)
- drop rendundant checks (Mat)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Squash-to: "mptcp: Handle MP_CAPABLE options for outgoing connections"net/ net/ | +22 | 2 replies | |
| 2/7 | Squash-to "mptcp: Create SUBFLOW socket for incoming connection"net/ | +4 | 0 replies | |
| 3/7 | Squash-to: "mptcp: Add key generation and token tree"net/ | +4 | 0 replies | |
| 4/7 | Squash-to: "mptcp: Write MPTCP DSS headers to outgoing data packets"net/ | +0 | 0 replies | |
| 5/7 | Squash-to: "mptcp: Implement MPTCP receive path"net/ net/ net/ | +26 | 0 replies | |
| 6/7 | Squash-to: "mptcp: cope with later TCP fallback"net/ | +4 | 0 replies | |
| 7/7 | Squash-to: "mptcp: Add handling of incoming MP_JOIN requests"net/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [MPTCP] [PATCH v2 0/7] fallback to TCP on ulp clone failure
This series do real TCP fallback for passive MPTCP connection when ULP clone
fails: clear the 'is_mptcp' flag, reset overridden callback, icsk ops and clear the ULP ctx.
Additionally uses the 'is_mptcp' flag to check for fallback in more places, as suggested by Mat (patches 2, 4), cope with NULL ctx in subflow_syn_recv_sock() (patches 3, 7), and restore TCP callback on later fallback, too (patch 6) for consistency.
This still uses function pointers to store all the overriden TCP callbacks, is simpler then other alternatives but waste some space inside the subflow struct.
The rebased tree is available at:
https://github.com/pabeni/mptcp/tree/mptcp_net-next_export_v7.1
This is on top of export branch(a)b50a38e09bbc6182136836564945a323641a5039 (tag: export/20200109T154238)
v1 -> v2
- uses sk_is_mptcp() when possible (Mat)
- drop rendundant checks (Mat)
options.c | 7 ------ protocol.c | 20 ++++++++--------- protocol.h | 15 ++++++++++++- subflow.c | 68 ++++++++++++++++++++++++++++++++++++++++--------------------- 4 files changed, 68 insertions(+), 42 deletions(-)