Skip to content

mptcp: simplify mptcp_accept()

Paolo Abeni netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- rebased on top of 2398e3991bda7caa6b112a6f650fbab92f732b91

Patches in v2 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 -801 reply
2/2mptcp: drop unneeded checksnet/mptcp/options.c net/mptcp/subflow.c+9 -231 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatthieu Baerts
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

Currently we allocate the MPTCP master socket at accept time.

The above makes mptcp_accept() quite complex, and requires checks is several places for NULL MPTCP master socket.

These series simplify the MPTCP accept implementation, moving the master socket allocation at syn-ack time, so that we drop unneeded checks with the follow-up patch.

v1 -> v2:
- rebased on top of 2398e3991bda7caa6b112a6f650fbab92f732b91

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

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