Skip to content

RFC mptcp: improve accept() and disconnect()

Paolo Abeni mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mptcp: never allow the PM to close a listener subflownet/mptcp/pm_netlink.c+3 -03 replies
2/3mptcp: full disconnect implementationnet/mptcp/pm.c net/mptcp/protocol.c net/mptcp/protocol.h +1 more+92 -280 replies
3/3mptcp: cleanup accept and pollnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c+7 -201 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/3] mptcp: improve accept() and disconnect()

As outlined in the public mtg, mptcp_accept() is currently quite suboptimal, both from performance and code complexity

This series tries to clean it up, enforcing a wider lifetime for the initial subflow, so that we don't need to acquire additional references there.

To reach such goal we need to properly define the disconnect() behavior, which is currently quite incomplete.

Some additional self-tests is likely required,

Paolo Abeni (3):
mptcp: never allow the PM to close a listener subflow
mptcp: full disconnect implementation
mptcp: cleanup accept and poll

 net/mptcp/pm.c         |  10 ++--
 net/mptcp/pm_netlink.c |   3 ++
 net/mptcp/protocol.c   | 120 ++++++++++++++++++++++++++---------------
 net/mptcp/protocol.h   |  15 +++++-
 net/mptcp/subflow.c    |   1 -
 net/mptcp/token.c      |   1 +
 6 files changed, 102 insertions(+), 48 deletions(-)
Signature · 1 line
2.26.3