All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni at redhat.com>
To: mptcp at lists.01.org
Subject: [MPTCP] [PATCH v1 0/7] fallback to TCP on ulp clone failure
Date: Wed, 08 Jan 2020 15:47:17 +0100	[thread overview]
Message-ID: <cover.1578487811.git.pabeni@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 929 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_v6.2

 options.c  |    6 -----
 protocol.c |   16 ++++++--------
 protocol.h |   15 ++++++++++++-
 subflow.c  |   67 ++++++++++++++++++++++++++++++++++++++++---------------------
 4 files changed, 67 insertions(+), 37 deletions(-)

                 reply	other threads:[~2020-01-08 14:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1578487811.git.pabeni@redhat.com \
    --to=unknown@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.