Skip to content

mptcp: simplify mptcp_accept()

Paolo Abeni mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mptcp: create msk earlynet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c +1 more+70 -800 replies
2/2mptcp: drop unneeded checksnet/mptcp/options.c net/mptcp/subflow.c+8 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [MPTCP] [PATCH net-next 0/2] mptcp: simplify mptcp_accept()

this is a rebase on top of net-next, with hopefully more correct error handling - catches mptcp_token_new_accept() errors and fallback to TCP freeing the newly create msk.

Additionally add a follow-up patch dropping unneeded subflow->conn checks.

Idea is to send this upstream after that -net is merged back into -net-next, to deal with conflicts in mptcp_established_options_dss() due to 2398e3991bda ("mptcp:
always include dack if possible.")

Paolo Abeni (2):
mptcp: create msk early
mptcp: drop unneeded checks

 net/mptcp/options.c  |  2 +-
 net/mptcp/protocol.c | 83 ++++++++++++++++++++++++--------------------
 net/mptcp/protocol.h |  4 +--
 net/mptcp/subflow.c  | 50 ++++++++++++++------------
 net/mptcp/token.c    | 31 ++---------------
 5 files changed, 78 insertions(+), 92 deletions(-)
Signature · 1 line
2.21.1