All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] mptcp: improve accept() and disconnect()
@ 2021-11-05 10:49 Paolo Abeni
  2021-11-05 10:49 ` [RFC PATCH 1/3] mptcp: never allow the PM to close a listener subflow Paolo Abeni
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Paolo Abeni @ 2021-11-05 10:49 UTC (permalink / raw)
  To: MPTCP Upstream

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(-)

-- 
2.26.3


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-11-09 14:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 10:49 [RFC PATCH 0/3] mptcp: improve accept() and disconnect() Paolo Abeni
2021-11-05 10:49 ` [RFC PATCH 1/3] mptcp: never allow the PM to close a listener subflow Paolo Abeni
2021-11-08 16:56   ` Matthieu Baerts
2021-11-09 14:38     ` Paolo Abeni
2021-11-09 14:55       ` Matthieu Baerts
2021-11-05 10:49 ` [RFC PATCH 2/3] mptcp: full disconnect implementation Paolo Abeni
2021-11-05 10:49 ` [RFC PATCH 3/3] mptcp: cleanup accept and poll Paolo Abeni
2021-11-05 10:59   ` mptcp: cleanup accept and poll: Build Failure MPTCP CI
2021-11-06  0:27 ` [RFC PATCH 0/3] mptcp: improve accept() and disconnect() Mat Martineau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.