All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] [PATCH v2 0/7] fallback to TCP on ulp clone failure
@ 2020-01-09 16:41 Paolo Abeni
  0 siblings, 0 replies; only message in thread
From: Paolo Abeni @ 2020-01-09 16:41 UTC (permalink / raw)
  To: mptcp

[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-09 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 16:41 [MPTCP] [PATCH v2 0/7] fallback to TCP on ulp clone failure Paolo Abeni

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.